Completed
Push — master ( 2fef65...248848 )
by Carlos
02:06
created
src/Command/LintCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
         $maxColumns = floor($this->getScreenColumns() / 2);
192 192
         $verbosity = $output->getVerbosity();
193 193
 
194
-        $linter->setProcessCallback(function ($status, $filename) use ($output, $verbosity, $fileCount, $maxColumns) {
194
+        $linter->setProcessCallback(function($status, $filename) use ($output, $verbosity, $fileCount, $maxColumns) {
195 195
             static $i = 0;
196 196
 
197 197
             if ($i && $i % $maxColumns === 0) {
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
             }
201 201
             ++$i;
202 202
             if ($verbosity >= OutputInterface::VERBOSITY_VERBOSE) {
203
-                $output->writeln('Linting: '.$filename. "\t".($status === 'ok' ? '<info>OK</info>' : '<error>Error</error>'));
203
+                $output->writeln('Linting: '.$filename."\t".($status === 'ok' ? '<info>OK</info>' : '<error>Error</error>'));
204 204
             } else {
205 205
                 $output->write($status === 'ok' ? '<info>.</info>' : '<error>E</error>');
206 206
             }
Please login to merge, or discard this patch.
src/Linter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,13 +81,13 @@
 block discarded – undo
81 81
             $files = $this->getFiles();
82 82
         }
83 83
 
84
-        $processCallback = is_callable($this->processCallback) ? $this->processCallback : function () {
84
+        $processCallback = is_callable($this->processCallback) ? $this->processCallback : function() {
85 85
         };
86 86
 
87 87
         $errors = [];
88 88
         $running = [];
89 89
         $newCache = [];
90
-        $phpbin = PHP_SAPI == 'cli' ? PHP_BINARY : PHP_BINDIR .'/php';
90
+        $phpbin = PHP_SAPI == 'cli' ? PHP_BINARY : PHP_BINDIR.'/php';
91 91
 
92 92
         while (!empty($files) || !empty($running)) {
93 93
             for ($i = count($running); !empty($files) && $i < $this->procLimit; ++$i) {
Please login to merge, or discard this patch.