@@ -175,10 +175,6 @@ Sort the result by name or by type (directories first, then files)::
175175 as its argument to use PHP's `natural sort order `_ algorithm instead (e.g.
176176 ``file1.txt ``, ``file2.txt ``, ``file10.txt ``).
177177
178- .. versionadded :: 4.2
179-
180- The option to use the natural sort order was introduced in Symfony 4.2.
181-
182178Sort the files and directories by the last accessed, changed or modified time::
183179
184180 $finder->sortByAccessedTime();
@@ -198,10 +194,6 @@ You can reverse any sorting by using the ``reverseSorting()`` method::
198194 // results will be sorted "Z to A" instead of the default "A to Z"
199195 $finder->sortByName()->reverseSorting();
200196
201- .. versionadded :: 4.2
202-
203- The ``reverseSorting() `` method was introduced in Symfony 4.2.
204-
205197.. note ::
206198
207199 Notice that the ``sort* `` methods need to get all matching elements to do
@@ -238,11 +230,6 @@ Multiple filenames can be excluded by chaining calls or passing an array::
238230 // same as above
239231 $finder->files()->notName(['*.rb', '*.py']);
240232
241- .. versionadded :: 4.2
242-
243- Support for passing arrays to ``name() `` and ``notName() `` was introduced
244- in Symfony 4.2
245-
246233File Contents
247234~~~~~~~~~~~~~
248235
@@ -285,10 +272,6 @@ Multiple paths can be defined by chaining calls or passing an array::
285272 // same as above
286273 $finder->path(['data', 'foo/bar']);
287274
288- .. versionadded :: 4.2
289-
290- Support for passing arrays to ``path() `` was introduced in Symfony 4.2
291-
292275Internally, strings are converted into regular expressions by escaping slashes
293276and adding delimiters:
294277
@@ -328,10 +311,6 @@ Restrict by a size range by chaining calls or passing an array::
328311 // same as above
329312 $finder->files()->size(['>= 1K', '<= 2K']);
330313
331- .. versionadded :: 4.2
332-
333- Support for passing arrays to ``size() `` was introduced in Symfony 4.2
334-
335314The comparison operator can be any of the following: ``> ``, ``>= ``, ``< ``, ``<= ``,
336315``== ``, ``!= ``.
337316
@@ -354,10 +333,6 @@ Restrict by a date range by chaining calls or passing an array::
354333 // same as above
355334 $finder->date(['>= 2018-01-01', '<= 2018-12-31']);
356335
357- .. versionadded :: 4.2
358-
359- Support for passing arrays to ``date() `` was introduced in Symfony 4.2
360-
361336The comparison operator can be any of the following: ``> ``, ``>= ``, ``< ``, ``<= ``,
362337``== ``. You can also use ``since `` or ``after `` as an alias for ``> ``, and
363338``until `` or ``before `` as an alias for ``< ``.
@@ -380,10 +355,6 @@ Restrict by a depth range by chaining calls or passing an array::
380355 // same as above
381356 $finder->depth(['> 2', '< 5']);
382357
383- .. versionadded :: 4.2
384-
385- Support for passing arrays to ``depth() `` was introduced in Symfony 4.2
386-
387358Custom Filtering
388359~~~~~~~~~~~~~~~~
389360
0 commit comments