Skip to content

Commit

Permalink
minor #4655 Improve docs - README (mvorisek)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
keradus committed Nov 23, 2019
2 parents 0273752 + 6ba5cbd commit 32367c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1934,6 +1934,7 @@ The example below will add two rules to the default list of PSR2 set rules:
;
**NOTE**: ``exclude`` will work only for directories, so if you need to exclude file, try ``notPath``.
Both ``exclude`` and ``notPath`` methods accept only relative paths to the ones defined with the ``in`` method.

See `Symfony\\Finder <https://symfony.com/doc/current/components/finder.html>`_
online documentation for other `Finder` methods.
Expand Down
1 change: 1 addition & 0 deletions src/Console/Command/HelpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ public static function getHelpCopy()
?>
**NOTE**: ``exclude`` will work only for directories, so if you need to exclude file, try ``notPath``.
Both ``exclude`` and ``notPath`` methods accept only relative paths to the ones defined with the ``in`` method.
See `Symfony\Finder` (<url>https://symfony.com/doc/current/components/finder.html</url>)
online documentation for other `Finder` methods.
Expand Down

0 comments on commit 32367c9

Please sign in to comment.