Completed
Push — master ( b9384f...6dcf74 )
by Nil
09:26
created
Category
src/ForbiddenFunctions/Command/CheckCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,8 +60,8 @@  discard block
 block discarded – undo
60 60
 
61 61
             if (!empty($this->errors)) {
62 62
                 $output->writeln("\nForbidden functions were found:\n");
63
-                foreach($this->errors as $file => $lines) {
64
-                    foreach($lines as $line) {
63
+                foreach ($this->errors as $file => $lines) {
64
+                    foreach ($lines as $line) {
65 65
                         $output->writeln(sprintf(" - .%s: %s", str_replace($realPath, '', $file), $line));
66 66
                     }
67 67
                 }
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         $fileSystem = new FileSystem();
105 105
         foreach ($fileSystem->getFilesFromPath($path) as $file) {
106 106
             $tokens = token_get_all(file_get_contents($file));
107
-            foreach($tokens as $token) {
107
+            foreach ($tokens as $token) {
108 108
                 $this->scanForForbiddenFunctions($configFile, $token, $file);
109 109
             }
110 110
         }
Please login to merge, or discard this patch.