@@ -69,7 +69,7 @@ |
||
69 | 69 | |
70 | 70 | public function dataProvider(): array |
71 | 71 | { |
72 | - return ["abc", "adef",]; |
|
72 | + return ["abc", "adef", ]; |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
@@ -67,8 +67,8 @@ |
||
67 | 67 | public function dataSource(): array |
68 | 68 | { |
69 | 69 | return [ |
70 | - ["abc",], |
|
71 | - ["def",], |
|
70 | + ["abc", ], |
|
71 | + ["def", ], |
|
72 | 72 | ]; |
73 | 73 | } |
74 | 74 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | $coverage = new CodeCoverage((new Selector())->forLineCoverage($filter), $filter); |
16 | 16 | $coverage->start("My Tester"); |
17 | -register_shutdown_function(function () use ($coverage) { |
|
17 | +register_shutdown_function(function() use ($coverage) { |
|
18 | 18 | $coverage->stop(); |
19 | 19 | (new Clover())->process($coverage, __DIR__ . "/coverage.xml"); |
20 | 20 | }); |
@@ -57,7 +57,7 @@ |
||
57 | 57 | static $jobs = []; |
58 | 58 | if (count($jobs) === 0) { |
59 | 59 | $r = new ReflectionClass(static::class); |
60 | - $methods = array_values(preg_grep(static::METHOD_PATTERN, array_map(function (ReflectionMethod $rm) { |
|
60 | + $methods = array_values(preg_grep(static::METHOD_PATTERN, array_map(function(ReflectionMethod $rm) { |
|
61 | 61 | return $rm->getName(); |
62 | 62 | }, $r->getMethods()))); |
63 | 63 | foreach ($methods as $method) { |
@@ -5,7 +5,7 @@ |
||
5 | 5 | function findVendorDirectory(): string |
6 | 6 | { |
7 | 7 | $recursionLimit = 10; |
8 | - $findVendor = function ($dirName = "vendor/bin", $dir = __DIR__) use (&$findVendor, &$recursionLimit) { |
|
8 | + $findVendor = function($dirName = "vendor/bin", $dir = __DIR__) use (&$findVendor, &$recursionLimit) { |
|
9 | 9 | if (!$recursionLimit--) { |
10 | 10 | throw new Exception("Cannot find vendor directory."); |
11 | 11 | } |