@@ -74,7 +74,7 @@ discard block |
||
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 |
||
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 |
@@ -203,7 +203,7 @@ |
||
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 |
@@ -228,7 +228,7 @@ |
||
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 | ); |
@@ -204,7 +204,7 @@ |
||
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> |
@@ -196,7 +196,7 @@ |
||
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 | } |
@@ -151,7 +151,7 @@ |
||
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 | } |
@@ -179,7 +179,7 @@ |
||
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 | } |
@@ -178,7 +178,7 @@ |
||
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 | } |
@@ -175,7 +175,7 @@ discard block |
||
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 |
||
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 | } |