File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -103,14 +103,13 @@ Each pattern has to resolve to at least one directory path.
103103Exclude directories from matching with the
104104:method: `Symfony\\ Component\\ Finder\\ Finder::exclude ` method::
105105
106+ // directories passed as argument must be relative to the ones defined with the in() method
106107 $finder->in(__DIR__)->exclude('ruby');
107108
108109.. versionadded :: 2.3
109110 The :method: `Symfony\\ Component\\ Finder\\ Finder::ignoreUnreadableDirs `
110111 method was introduced in Symfony 2.3.
111112
112- Note that the excluded paths provided are relative to the `in() ` directories.
113-
114113It's also possible to ignore directories that you don't have permission to read::
115114
116115 $finder->ignoreUnreadableDirs()->in(__DIR__);
You can’t perform that action at this time.
0 commit comments