Completed
Push — master ( 58056e...b62d26 )
by Carlos
03:38 queued 01:24
created
src/Linter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
      *
155 155
      * @param callable $processCallback
156 156
      *
157
-     * @return ParallelLint
157
+     * @return Linter
158 158
      */
159 159
     public function setProcessCallback($processCallback)
160 160
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
             $files = $this->getFiles();
72 72
         }
73 73
 
74
-        $processCallback = is_callable($this->processCallback) ? $this->processCallback : function () {
74
+        $processCallback = is_callable($this->processCallback) ? $this->processCallback : function() {
75 75
         };
76 76
 
77 77
         $errors = [];
Please login to merge, or discard this patch.
src/Command/LintCommand.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
         $progress->setFormat("%filename%\n\n%current%/%max% [%bar%] %percent:3s%% %elapsed:6s%\n");
96 96
         $progress->start();
97 97
 
98
-        $linter->setProcessCallback(function ($status, $filename) use ($progress) {
98
+        $linter->setProcessCallback(function($status, $filename) use ($progress) {
99 99
             $progress->setMessage("<info>Checking: </info>{$filename}", 'filename');
100 100
             $progress->advance();
101 101
         });
Please login to merge, or discard this patch.
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -57,40 +57,40 @@
 block discarded – undo
57 57
                 'Path to file or directory to lint'
58 58
             )
59 59
             ->addOption(
60
-               'exclude',
61
-               null,
62
-               InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY,
63
-               'Path to file or directory to exclude from linting'
60
+                'exclude',
61
+                null,
62
+                InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY,
63
+                'Path to file or directory to exclude from linting'
64 64
             )
65 65
             ->addOption(
66
-               'extensions',
67
-               null,
68
-               InputOption::VALUE_REQUIRED,
69
-               'Check only files with selected extensions (default: php)'
66
+                'extensions',
67
+                null,
68
+                InputOption::VALUE_REQUIRED,
69
+                'Check only files with selected extensions (default: php)'
70 70
             )
71 71
             ->addOption(
72
-               'jobs',
73
-               'j',
74
-               InputOption::VALUE_REQUIRED,
75
-               'Number of parraled jobs to run (default: 5)'
72
+                'jobs',
73
+                'j',
74
+                InputOption::VALUE_REQUIRED,
75
+                'Number of parraled jobs to run (default: 5)'
76 76
             )
77 77
             ->addOption(
78
-               'configuration',
79
-               'c',
80
-               InputOption::VALUE_REQUIRED,
81
-               'Read configuration from config file (default: .phplint.yml).'
78
+                'configuration',
79
+                'c',
80
+                InputOption::VALUE_REQUIRED,
81
+                'Read configuration from config file (default: .phplint.yml).'
82 82
             )
83 83
             ->addOption(
84
-               'no-configuration',
85
-               null,
86
-               InputOption::VALUE_NONE,
87
-               'Ignore default configuration file (default: .phplint.yml).'
84
+                'no-configuration',
85
+                null,
86
+                InputOption::VALUE_NONE,
87
+                'Ignore default configuration file (default: .phplint.yml).'
88 88
             )
89 89
             ->addOption(
90
-               'no-cache',
91
-               null,
92
-               InputOption::VALUE_NONE,
93
-               'Ignore cached data.'
90
+                'no-cache',
91
+                null,
92
+                InputOption::VALUE_NONE,
93
+                'Ignore cached data.'
94 94
             );
95 95
     }
96 96
 
Please login to merge, or discard this patch.