@@ -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 |
@@ -59,7 +59,7 @@ |
||
59 | 59 | |
60 | 60 | /** @var string $composerJsonArgument */ |
61 | 61 | $composerJsonArgument = $input->getArgument('composer-json'); |
62 | - $composerJson = realpath((string) $composerJsonArgument); |
|
62 | + $composerJson = realpath((string)$composerJsonArgument); |
|
63 | 63 | if (false === $composerJson) { |
64 | 64 | throw new \InvalidArgumentException('file not found: [' . $composerJsonArgument . ']'); |
65 | 65 | } |