Completed
Push — master ( d607f5...fbc455 )
by Carlos
02:33
created
src/Command/LintCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
         $maxColumns = floor($this->getScreenColumns() / 2);
195 195
         $verbosity = $output->getVerbosity();
196 196
 
197
-        $linter->setProcessCallback(function ($status, $filename) use ($output, $verbosity, $fileCount, $maxColumns) {
197
+        $linter->setProcessCallback(function($status, $filename) use ($output, $verbosity, $fileCount, $maxColumns) {
198 198
             static $i = 0;
199 199
 
200 200
             if ($i && $i % $maxColumns === 0) {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
             }
204 204
             ++$i;
205 205
             if ($verbosity >= OutputInterface::VERBOSITY_VERBOSE) {
206
-                $output->writeln('Linting: '.$filename. "\t".($status === 'ok' ? '<info>OK</info>' : '<error>Error</error>'));
206
+                $output->writeln('Linting: '.$filename."\t".($status === 'ok' ? '<info>OK</info>' : '<error>Error</error>'));
207 207
             } else {
208 208
                 $output->write($status === 'ok' ? '<info>.</info>' : '<error>E</error>');
209 209
             }
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
         $dir = './';
272 272
 
273 273
         if (count($inputPath) == 1 && $first = reset($inputPath)) {
274
-            $dir = is_dir($first) ? : dirname($first);
274
+            $dir = is_dir($first) ?: dirname($first);
275 275
         }
276 276
 
277 277
         $filename = rtrim($dir, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'.phplint.yml';
Please login to merge, or discard this patch.