8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 412fac9 commit 544bcf9Copy full SHA for 544bcf9
components/finder.rst
@@ -148,6 +148,14 @@ can reuse those rules to exclude files and directories from the results with the
148
// excludes files/directories matching the .gitignore patterns
149
$finder->ignoreVCSIgnored(true);
150
151
+Rules from higher levels will be overridden by those in lower levels.
152
+
153
+.. note::
154
155
+ Only ``.gitignore`` files from search directories and their descendants are
156
+ read. Files from parent directories are ignored. To be consistent with Git
157
+ behavior, you should explicitly search from the Git repository root.
158
159
.. versionadded:: 5.4
160
161
``.gitignore`` files recursive support was introduced in Symfony 5.4.
0 commit comments