Skip to content

Commit 3cd90b3

Browse files
committed
Minor tweaks
1 parent bd1697e commit 3cd90b3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

components/finder.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,13 +356,17 @@ Restrict by a depth range by chaining calls or passing an array::
356356
$finder->depth(['> 2', '< 5']);
357357

358358
Gitignore
359-
~~~~~~~~~~~~~~~
359+
~~~~~~~~~
360360

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::
362362

363363
$finder->ignoreVCSIgnored(true);
364364

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.
366370

367371
Custom Filtering
368372
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)