Test Setup Failed
Pull Request — master (#115)
by Cees-Jan
14:14
created
src/ComposerRequireChecker/FileLocator/LocateAllFilesByExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/ComposerRequireChecker/Cli/CheckCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
         $composerLocator = $locator(dirname($composerJson), $astLocator);
97 97
         $classReflector = new ClassReflector($composerLocator);
98 98
         $functionReflector = new FunctionReflector($composerLocator, $classReflector);
99
-        $constantReflector  = new ConstantReflector($composerLocator, $classReflector);
99
+        $constantReflector = new ConstantReflector($composerLocator, $classReflector);
100 100
         $whiteList = $options->getSymbolWhitelist();
101 101
         $unknownSymbols = [];
102 102
         foreach ($usedSymbols as $usedSymbol) {
Please login to merge, or discard this patch.