Merge branch '2.7' into 2.8

* 2.7:
  Improve the documentation of `Finder::exclude()`
This commit is contained in:
Fabien Potencier 2018-03-05 10:27:59 -08:00
commit a03ae7c194

View File

@ -407,6 +407,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