@@ -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 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | public function __construct(?Options $options) |
| 18 | 18 | { |
| 19 | 19 | $this->loadedExtensions = get_loaded_extensions(); |
| 20 | - if($options instanceof Options) { |
|
| 20 | + if ($options instanceof Options) { |
|
| 21 | 21 | $this->coreExtensions = $options->getPhpCoreExtensions(); |
| 22 | 22 | } |
| 23 | 23 | } |