Completed
Push — master ( 85853a...5df06c )
by James
20s queued 12s
created
DetectChanges/BCBreak/FunctionBased/ParameterDefaultValueChangedTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
         self::assertSame(
37 37
             $expectedMessages,
38
-            array_map(function (Change $change) : string {
38
+            array_map(function(Change $change) : string {
39 39
                 return $change->__toString();
40 40
             }, iterator_to_array($changes))
41 41
         );
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             array_combine(
117 117
                 array_keys($functions),
118 118
                 array_map(
119
-                    function (string $function, array $errorMessages) use ($fromReflector, $toReflector) : array {
119
+                    function(string $function, array $errorMessages) use ($fromReflector, $toReflector) : array {
120 120
                         return [
121 121
                             $fromReflector->reflect($function),
122 122
                             $toReflector->reflect($function),
Please login to merge, or discard this patch.
test/unit/DetectChanges/BCBreak/FunctionBased/ReturnTypeChangedTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
         self::assertSame(
37 37
             $expectedMessages,
38
-            array_map(function (Change $change) : string {
38
+            array_map(function(Change $change) : string {
39 39
                 return $change->__toString();
40 40
             }, iterator_to_array($changes))
41 41
         );
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             array_combine(
117 117
                 array_keys($functions),
118 118
                 array_map(
119
-                    function (string $function, array $errorMessages) use ($fromReflector, $toReflector) : array {
119
+                    function(string $function, array $errorMessages) use ($fromReflector, $toReflector) : array {
120 120
                         return [
121 121
                             $fromReflector->reflect($function),
122 122
                             $toReflector->reflect($function),
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/MethodBased/MethodConcretenessChanged.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 {
18 18
     public function __invoke(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes
19 19
     {
20
-        if ($fromMethod->isAbstract() || ! $toMethod->isAbstract()) {
20
+        if ($fromMethod->isAbstract() || !$toMethod->isAbstract()) {
21 21
             return Changes::empty();
22 22
         }
23 23
 
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/MethodBased/OnlyProtectedMethodChanged.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
     public function __invoke(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes
24 24
     {
25
-        if (! $fromMethod->isProtected()) {
25
+        if (!$fromMethod->isProtected()) {
26 26
             return Changes::empty();
27 27
         }
28 28
 
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/MethodBased/MethodBecameFinal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 {
18 18
     public function __invoke(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes
19 19
     {
20
-        if ($fromMethod->isFinal() || ! $toMethod->isFinal()) {
20
+        if ($fromMethod->isFinal() || !$toMethod->isFinal()) {
21 21
             return Changes::empty();
22 22
         }
23 23
 
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/MethodBased/OnlyPublicMethodChanged.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
     public function __invoke(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes
24 24
     {
25
-        if (! $fromMethod->isPublic()) {
25
+        if (!$fromMethod->isPublic()) {
26 26
             return Changes::empty();
27 27
         }
28 28
 
Please login to merge, or discard this patch.
BCBreak/ClassConstantBased/OnlyProtectedClassConstantChanged.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     public function __invoke(ReflectionClassConstant $fromConstant, ReflectionClassConstant $toConstant) : Changes
21 21
     {
22
-        if (! $fromConstant->isProtected()) {
22
+        if (!$fromConstant->isProtected()) {
23 23
             return Changes::empty();
24 24
         }
25 25
 
Please login to merge, or discard this patch.
DetectChanges/BCBreak/ClassConstantBased/OnlyPublicClassConstantChanged.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     public function __invoke(ReflectionClassConstant $fromConstant, ReflectionClassConstant $toConstant) : Changes
21 21
     {
22
-        if (! $fromConstant->isPublic()) {
22
+        if (!$fromConstant->isPublic()) {
23 23
             return Changes::empty();
24 24
         }
25 25
 
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/ClassBased/ClassBecameFinal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             return Changes::empty();
18 18
         }
19 19
 
20
-        if (! $toClass->isFinal()) {
20
+        if (!$toClass->isFinal()) {
21 21
             return Changes::empty();
22 22
         }
23 23
 
Please login to merge, or discard this patch.