Skip to content

Commit 32367c9

Browse files
committed
minor #4655 Improve docs - README (mvorisek)
This PR was submitted for the master branch but it was merged into the 2.15 branch instead (closes #4655). Discussion ---------- Improve docs - README Based on https://github.com/symfony/symfony/blob/1b4ab8108542daddd6ca96caf38b464ff3cc459a/src/Symfony/Component/Finder/Finder.php#L317 Commits ------- 6ba5cbd Improve docs - README
2 parents 0273752 + 6ba5cbd commit 32367c9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1934,6 +1934,7 @@ The example below will add two rules to the default list of PSR2 set rules:
19341934
;
19351935
19361936
**NOTE**: ``exclude`` will work only for directories, so if you need to exclude file, try ``notPath``.
1937+
Both ``exclude`` and ``notPath`` methods accept only relative paths to the ones defined with the ``in`` method.
19371938

19381939
See `Symfony\\Finder <https://symfony.com/doc/current/components/finder.html>`_
19391940
online documentation for other `Finder` methods.

src/Console/Command/HelpCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ public static function getHelpCopy()
179179
?>
180180
181181
**NOTE**: ``exclude`` will work only for directories, so if you need to exclude file, try ``notPath``.
182+
Both ``exclude`` and ``notPath`` methods accept only relative paths to the ones defined with the ``in`` method.
182183
183184
See `Symfony\Finder` (<url>https://symfony.com/doc/current/components/finder.html</url>)
184185
online documentation for other `Finder` methods.

0 commit comments

Comments
 (0)