File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -356,13 +356,17 @@ Restrict by a depth range by chaining calls or passing an array::
356
356
$finder->depth(['> 2', '< 5']);
357
357
358
358
Gitignore
359
- ~~~~~~~~~~~~~~~
359
+ ~~~~~~~~~
360
360
361
- The Finder can follow .gitignore file rules. :method: `Symfony\\ Component\\ Finder\\ Finder::ignoreVCSIgnored `::
361
+ The Finder can follow `` .gitignore `` file rules with the :method: `Symfony\\ Component\\ Finder\\ Finder::ignoreVCSIgnored ` method ::
362
362
363
363
$finder->ignoreVCSIgnored(true);
364
364
365
- This will exclude files based on .gitignore rules as git does.
365
+ This will exclude files based on ``.gitignore `` rules as git does.
366
+
367
+ .. versionadded :: 4.3
368
+
369
+ The ``ignoreVCSIgnored() `` method was introduced in Symfony 4.3.
366
370
367
371
Custom Filtering
368
372
~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments