Merge branch '2.8' into 3.4

* 2.8:
  Improve the documentation of `Finder::exclude()`
This commit is contained in:
Fabien Potencier 2018-03-05 10:28:11 -08:00
commit ab07cddf04

View File

@ -297,6 +297,10 @@ class Finder implements \IteratorAggregate, \Countable
/**
* Excludes directories.
*
* Directories passed as argument must be relative to the ones defined with the `in()` method. For example:
*
* $finder->in(__DIR__)->exclude('ruby');
*
* @param string|array $dirs A directory path or an array of directories
*
* @return $this