Passed
Push — master ( 26dd23...3e89df )
by Max
11:48
created
tests/Type/UserErrorsType/ScalarTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,10 +31,10 @@
 block discarded – undo
31 31
     {
32 32
         $type = new UserErrorsType([
33 33
             'errorCodes' => ['invalidColor'],
34
-            'validation' => static function ($value) {
34
+            'validation' => static function($value) {
35 35
                 return 0;
36 36
             },
37
-            'typeSetter' => static function ($type) use (&$types) {
37
+            'typeSetter' => static function($type) use (&$types) {
38 38
                 $types[$type->name] = $type;
39 39
             },
40 40
             'type' => new IDType(['name' => 'Color']),
Please login to merge, or discard this patch.
tests/Type/ErrorCodeTypeGenerationTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
                 'unknownUser',
24 24
                 'userIsMinor',
25 25
             ],
26
-            'typeSetter' => static function ($type) use (&$types) {
26
+            'typeSetter' => static function($type) use (&$types) {
27 27
                 $types[$type->name] = $type;
28 28
             },
29 29
             'type' => new IDType(['name' => 'User']),
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                     ],
57 57
                 ],
58 58
             ]),
59
-            'typeSetter' => static function ($type) use (&$types) {
59
+            'typeSetter' => static function($type) use (&$types) {
60 60
                 $types[$type->name] = $type;
61 61
             },
62 62
         ], ['updateBook']);
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                     ],
85 85
                 ],
86 86
             ]),
87
-            'typeSetter' => static function ($type) use (&$types) {
87
+            'typeSetter' => static function($type) use (&$types) {
88 88
                 $types[$type->name] = $type;
89 89
             },
90 90
         ], ['updateBook']);
Please login to merge, or discard this patch.
tests/Utils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         }
23 23
 
24 24
         // Toss out the first and last lines.
25
-        $lines = array_slice($lines, 1, count($lines) - 2);
25
+        $lines = array_slice($lines, 1, count($lines)-2);
26 26
 
27 27
         // take the tabs form the first line, and subtract them from all lines
28 28
         $matches = [];
Please login to merge, or discard this patch.