Completed
Push — master ( aefb49...0e78db )
by Marco
23s queued 10s
created
test/unit/DetectChanges/BCBreak/ClassBased/AncestorRemovedTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
         self::assertSame(
38 38
             $expectedMessages,
39
-            array_map(static function (Change $change) : string {
39
+            array_map(static function(Change $change) : string {
40 40
                 return $change->__toString();
41 41
             }, iterator_to_array($changes))
42 42
         );
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             ,
75 75
             $locator
76 76
         ));
77
-        $toReflector   = new ClassReflector(new StringSourceLocator(
77
+        $toReflector = new ClassReflector(new StringSourceLocator(
78 78
             <<<'PHP'
79 79
 <?php
80 80
 
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         return array_combine(
130 130
             array_keys($classes),
131 131
             array_map(
132
-                static function (string $className, array $errors) use ($fromReflector, $toReflector) : array {
132
+                static function(string $className, array $errors) use ($fromReflector, $toReflector) : array {
133 133
                     return [
134 134
                         $fromReflector->reflect($className),
135 135
                         $toReflector->reflect($className),
Please login to merge, or discard this patch.
test/unit/DetectChanges/BCBreak/ClassBased/PropertyRemovedTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
         self::assertSame(
33 33
             $expectedMessages,
34
-            array_map(static function (Change $change) : string {
34
+            array_map(static function(Change $change) : string {
35 35
                 return $change->__toString();
36 36
             }, iterator_to_array($changes))
37 37
         );
@@ -45,11 +45,11 @@  discard block
 block discarded – undo
45 45
         return [
46 46
             'RoaveTestAsset\\ClassWithPropertiesBeingRemoved' => [
47 47
                 (new ClassReflector(new SingleFileSourceLocator(
48
-                    __DIR__ . '/../../../../asset/api/old/ClassWithPropertiesBeingRemoved.php',
48
+                    __DIR__.'/../../../../asset/api/old/ClassWithPropertiesBeingRemoved.php',
49 49
                     $locator
50 50
                 )))->reflect('RoaveTestAsset\\ClassWithPropertiesBeingRemoved'),
51 51
                 (new ClassReflector(new SingleFileSourceLocator(
52
-                    __DIR__ . '/../../../../asset/api/new/ClassWithPropertiesBeingRemoved.php',
52
+                    __DIR__.'/../../../../asset/api/new/ClassWithPropertiesBeingRemoved.php',
53 53
                     $locator
54 54
                 )))->reflect('RoaveTestAsset\\ClassWithPropertiesBeingRemoved'),
55 55
                 [
Please login to merge, or discard this patch.
test/unit/DetectChanges/BCBreak/InterfaceBased/InterfaceBecameClassTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
         self::assertSame(
35 35
             $expectedMessages,
36
-            array_map(static function (Change $change) : string {
36
+            array_map(static function(Change $change) : string {
37 37
                 return $change->__toString();
38 38
             }, iterator_to_array($changes))
39 39
         );
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             ,
64 64
             $locator
65 65
         ));
66
-        $toReflector   = new ClassReflector(new StringSourceLocator(
66
+        $toReflector = new ClassReflector(new StringSourceLocator(
67 67
             <<<'PHP'
68 68
 <?php
69 69
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
         return array_combine(
103 103
             array_keys($classes),
104 104
             array_map(
105
-                static function (string $className, array $errors) use ($fromReflector, $toReflector) : array {
105
+                static function(string $className, array $errors) use ($fromReflector, $toReflector) : array {
106 106
                     return [
107 107
                         $fromReflector->reflect($className),
108 108
                         $toReflector->reflect($className),
Please login to merge, or discard this patch.
test/unit/DetectChanges/BCBreak/InterfaceBased/InterfaceBecameTraitTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
         self::assertSame(
35 35
             $expectedMessages,
36
-            array_map(static function (Change $change) : string {
36
+            array_map(static function(Change $change) : string {
37 37
                 return $change->__toString();
38 38
             }, iterator_to_array($changes))
39 39
         );
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             ,
64 64
             $locator
65 65
         ));
66
-        $toReflector   = new ClassReflector(new StringSourceLocator(
66
+        $toReflector = new ClassReflector(new StringSourceLocator(
67 67
             <<<'PHP'
68 68
 <?php
69 69
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
         return array_combine(
103 103
             array_keys($classes),
104 104
             array_map(
105
-                static function (string $className, array $errors) use ($fromReflector, $toReflector) : array {
105
+                static function(string $className, array $errors) use ($fromReflector, $toReflector) : array {
106 106
                     return [
107 107
                         $fromReflector->reflect($className),
108 108
                         $toReflector->reflect($className),
Please login to merge, or discard this patch.
test/unit/DetectChanges/BCBreak/InterfaceBased/MethodAddedTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
         self::assertSame(
35 35
             $expectedMessages,
36
-            array_map(static function (Change $change) : string {
36
+            array_map(static function(Change $change) : string {
37 37
                 return $change->__toString();
38 38
             }, iterator_to_array($changes))
39 39
         );
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         return array_combine(
107 107
             array_keys($properties),
108 108
             array_map(
109
-                static function (string $className, array $errorMessages) use ($fromClassReflector, $toClassReflector
109
+                static function(string $className, array $errorMessages) use ($fromClassReflector, $toClassReflector
110 110
                 ) : array {
111 111
                     return [
112 112
                         $fromClassReflector->reflect($className),
Please login to merge, or discard this patch.
test/unit/DetectChanges/BCBreak/InterfaceBased/AncestorRemovedTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
         self::assertSame(
38 38
             $expectedMessages,
39
-            array_map(static function (Change $change) : string {
39
+            array_map(static function(Change $change) : string {
40 40
                 return $change->__toString();
41 41
             }, iterator_to_array($changes))
42 42
         );
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             ,
64 64
             $locator
65 65
         ));
66
-        $toReflector   = new ClassReflector(new StringSourceLocator(
66
+        $toReflector = new ClassReflector(new StringSourceLocator(
67 67
             <<<'PHP'
68 68
 <?php
69 69
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         return array_combine(
96 96
             array_keys($interfaces),
97 97
             array_map(
98
-                static function (string $interfaceName, array $errors) use ($fromReflector, $toReflector) : array {
98
+                static function(string $interfaceName, array $errors) use ($fromReflector, $toReflector) : array {
99 99
                     return [
100 100
                         $fromReflector->reflect($interfaceName),
101 101
                         $toReflector->reflect($interfaceName),
Please login to merge, or discard this patch.
test/unit/DetectChanges/BCBreak/TraitBased/TraitBecameClassTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
         self::assertSame(
38 38
             $expectedMessages,
39
-            array_map(static function (Change $change) : string {
39
+            array_map(static function(Change $change) : string {
40 40
                 return $change->__toString();
41 41
             }, iterator_to_array($changes))
42 42
         );
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             ,
62 62
             $locator
63 63
         ));
64
-        $toReflector   = new ClassReflector(new StringSourceLocator(
64
+        $toReflector = new ClassReflector(new StringSourceLocator(
65 65
             <<<'PHP'
66 66
 <?php
67 67
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         return array_combine(
91 91
             array_keys($classes),
92 92
             array_map(
93
-                static function (string $className, array $errors) use ($fromReflector, $toReflector) : array {
93
+                static function(string $className, array $errors) use ($fromReflector, $toReflector) : array {
94 94
                     return [
95 95
                         $fromReflector->reflect($className),
96 96
                         $toReflector->reflect($className),
Please login to merge, or discard this patch.
test/unit/DetectChanges/BCBreak/TraitBased/TraitBecameInterfaceTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
         self::assertSame(
38 38
             $expectedMessages,
39
-            array_map(static function (Change $change) : string {
39
+            array_map(static function(Change $change) : string {
40 40
                 return $change->__toString();
41 41
             }, iterator_to_array($changes))
42 42
         );
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             ,
62 62
             $locator
63 63
         ));
64
-        $toReflector   = new ClassReflector(new StringSourceLocator(
64
+        $toReflector = new ClassReflector(new StringSourceLocator(
65 65
             <<<'PHP'
66 66
 <?php
67 67
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         return array_combine(
91 91
             array_keys($classes),
92 92
             array_map(
93
-                static function (string $className, array $errors) use ($fromReflector, $toReflector) : array {
93
+                static function(string $className, array $errors) use ($fromReflector, $toReflector) : array {
94 94
                     return [
95 95
                         $fromReflector->reflect($className),
96 96
                         $toReflector->reflect($className),
Please login to merge, or discard this patch.
test/unit/DetectChanges/BCBreak/MethodBased/MethodBecameFinalTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
         self::assertSame(
39 39
             $expectedMessages,
40
-            array_map(static function (Change $change) : string {
40
+            array_map(static function(Change $change) : string {
41 41
                 return $change->__toString();
42 42
             }, iterator_to_array($changes))
43 43
         );
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         return array_combine(
124 124
             array_keys($properties),
125 125
             array_map(
126
-                static function (string $methodName, array $errorMessages) use ($fromClass, $toClass) : array {
126
+                static function(string $methodName, array $errorMessages) use ($fromClass, $toClass) : array {
127 127
                     return [
128 128
                         $fromClass->getMethod($methodName),
129 129
                         $toClass->getMethod($methodName),
Please login to merge, or discard this patch.