Completed
Branch master (7e6995)
by Michael
04:41
created
src/PHPCodeBrowser/Command/RunCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     protected function configure(): void
75 75
     {
76 76
         $plugins = array_map(
77
-            function ($class) {
77
+            function($class) {
78 78
                 return '"'.substr($class, strlen('Error')).'"';
79 79
             },
80 80
             $this->getAvailablePlugins()
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
     protected function disablePlugins(array $disabledPlugins, array $plugins): array
263 263
     {
264 264
         $disabledPlugins = array_map(
265
-            function ($param) {
265
+            function($param) {
266 266
                 return strtolower($param);
267 267
             },
268 268
             $disabledPlugins
Please login to merge, or discard this patch.
src/PHPCodeBrowser/Helper/IOHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
             }
204 204
 
205 205
             // delete folder recursive
206
-            if (! $iterator->isDot() && $iterator->isDir()) {
206
+            if (!$iterator->isDot() && $iterator->isDir()) {
207 207
                 self::deleteDirectory($src);
208 208
             }
209 209
 
Please login to merge, or discard this patch.
src/PHPCodeBrowser/Tests/FileTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
             '/some/file/name.php',
229 229
             [$this->issues[0], $this->issues[1]]
230 230
         );
231
-        $otherFile  = new File(
231
+        $otherFile = new File(
232 232
             '/some/file/name.php',
233 233
             [$this->issues[2]]
234 234
         );
Please login to merge, or discard this patch.
src/PHPCodeBrowser/Tests/View/ViewReviewTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@
 block discarded – undo
204 204
             $this->markTestIncomplete();
205 205
         }
206 206
 
207
-        $html     = <<< EOT
207
+        $html = <<< EOT
208 208
 <html>
209 209
     <head>
210 210
         <title>Title</title>
Please login to merge, or discard this patch.
src/PHPCodeBrowser/Tests/AbstractTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
             }
197 197
 
198 198
             // delete folder recursive
199
-            if (! $iterator->isDot() && $iterator->isDir()) {
199
+            if (!$iterator->isDot() && $iterator->isDir()) {
200 200
                 $this->cleanUp($dir.'/'.$iterator->current());
201 201
                 rmdir($dir.'/'.$iterator->current());
202 202
             }
Please login to merge, or discard this patch.
src/PHPCodeBrowser/Tests/Plugins/ErrorCPDTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
                 ]
152 152
             ),
153 153
         ];
154
-        $actual   = $this->errorCPD->getFileList();
154
+        $actual = $this->errorCPD->getFileList();
155 155
         $this->assertEquals($expected, $actual);
156 156
     }
157 157
 }
Please login to merge, or discard this patch.
src/PHPCodeBrowser/Tests/Plugins/ErrorPMDTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
                 []
180 180
             ),
181 181
         ];
182
-        $actual   = $this->errorPmd->getFileList();
182
+        $actual = $this->errorPmd->getFileList();
183 183
         $this->assertEquals($expected, $actual);
184 184
     }
185 185
 }
Please login to merge, or discard this patch.
src/PHPCodeBrowser/Tests/Plugins/ErrorCheckstyleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
                 []
179 179
             ),
180 180
         ];
181
-        $actual   = $this->errorCheckstyle->getFileList();
181
+        $actual = $this->errorCheckstyle->getFileList();
182 182
         $this->assertEquals($expected, $actual);
183 183
     }
184 184
 }
Please login to merge, or discard this patch.
src/PHPCodeBrowser/Tests/Plugins/ErrorCRAPTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
                 []
176 176
             ),
177 177
         ];
178
-        $actual   = $this->errorCrap->getFileList();
178
+        $actual = $this->errorCrap->getFileList();
179 179
         $this->assertEquals($expected, $actual);
180 180
     }
181 181
 
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
                 []
215 215
             ),
216 216
         ];
217
-        $actual   = $this->errorCrap->getFileList();
217
+        $actual = $this->errorCrap->getFileList();
218 218
         $this->assertEquals($expected, $actual);
219 219
     }
220 220
 }
Please login to merge, or discard this patch.