Passed
Pull Request — master (#38)
by Marco
03:01
created
src/Comparator/BackwardsCompatibility/MethodBased/MethodBecameFinal.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Roave\ApiCompare\Comparator\BackwardsCompatibility\MethodBased;
6 6
 
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 {
18 18
     public function compare(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes
19 19
     {
20
-        if ($fromMethod->isFinal() || ! $toMethod->isFinal()) {
20
+        if ($fromMethod->isFinal() || !$toMethod->isFinal()) {
21 21
             return Changes::new();
22 22
         }
23 23
 
Please login to merge, or discard this patch.
Comparator/BackwardsCompatibility/MethodBased/MethodConcretenessChanged.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Roave\ApiCompare\Comparator\BackwardsCompatibility\MethodBased;
6 6
 
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 {
18 18
     public function compare(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes
19 19
     {
20
-        if ($fromMethod->isAbstract() || ! $toMethod->isAbstract()) {
20
+        if ($fromMethod->isAbstract() || !$toMethod->isAbstract()) {
21 21
             return Changes::new();
22 22
         }
23 23
 
Please login to merge, or discard this patch.
src/Comparator/BackwardsCompatibility/ClassBased/ClassBecameInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Roave\ApiCompare\Comparator\BackwardsCompatibility\ClassBased;
6 6
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     {
21 21
         Assert::that($fromClass->getName())->same($toClass->getName());
22 22
 
23
-        if ($fromClass->isInterface() || ! $toClass->isInterface()) {
23
+        if ($fromClass->isInterface() || !$toClass->isInterface()) {
24 24
             // checking whether a class became an interface is done in `ClassBecameInterface`
25 25
             return Changes::new();
26 26
         }
Please login to merge, or discard this patch.
src/Comparator/BackwardsCompatibility/ClassBased/ClassBecameAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Roave\ApiCompare\Comparator\BackwardsCompatibility\ClassBased;
6 6
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
             return Changes::new();
26 26
         }
27 27
 
28
-        if ($fromClass->isAbstract() || ! $toClass->isAbstract()) {
28
+        if ($fromClass->isAbstract() || !$toClass->isAbstract()) {
29 29
             return Changes::new();
30 30
         }
31 31
 
Please login to merge, or discard this patch.