Completed
Push — master ( 8abb49...03fc9d )
by Jakub
01:40
created
tests/TestCaseTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
     public function dataProvider(): array
71 71
     {
72
-        return ["abc", "adef",];
72
+        return ["abc", "adef", ];
73 73
     }
74 74
 
75 75
     /**
Please login to merge, or discard this patch.
tests/DataProviderTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,8 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
code-coverage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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
 });
Please login to merge, or discard this patch.
src/TestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.