@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 | } |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |