@@ -26,7 +26,7 @@ |
||
26 | 26 | |
27 | 27 | /* @var $file \SplFileInfo */ |
28 | 28 | foreach ($files as $file) { |
29 | - if ($blacklist && preg_match('{('.implode('|', $blacklist).')}', $file->getPathname())) { |
|
29 | + if ($blacklist && preg_match('{(' . implode('|', $blacklist) . ')}', $file->getPathname())) { |
|
30 | 30 | continue; |
31 | 31 | } |
32 | 32 |
@@ -161,7 +161,7 @@ |
||
161 | 161 | $paths[] = $projectDir . \DIRECTORY_SEPARATOR . 'vendor'; |
162 | 162 | |
163 | 163 | foreach ($paths as $path) { |
164 | - $autoloaderPath = $path . \DIRECTORY_SEPARATOR . '/autoload.php'; |
|
164 | + $autoloaderPath = $path . \DIRECTORY_SEPARATOR . '/autoload.php'; |
|
165 | 165 | if (file_exists($autoloaderPath)) { |
166 | 166 | return $autoloaderPath; |
167 | 167 | } |