Merge branch '2.7' into 2.8
* 2.7: Improve the documentation of `Finder::exclude()`
This commit is contained in:
commit
a03ae7c194
@ -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
|
||||
|
Reference in New Issue
Block a user