From 9c9e079bcdddcedcc706834eb6e80a1aa4befdc6 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 5 Mar 2018 15:55:49 -0800 Subject: Always display SQL errors --- vendor/symfony/finder/Finder.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vendor/symfony') diff --git a/vendor/symfony/finder/Finder.php b/vendor/symfony/finder/Finder.php index 8e33d411..c28aaf74 100644 --- a/vendor/symfony/finder/Finder.php +++ b/vendor/symfony/finder/Finder.php @@ -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 -- cgit v1.2.3