@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Roave\ApiCompare\Comparator\BackwardsCompatibility\TraitBased; |
| 6 | 6 | |
@@ -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\TraitBased; |
| 6 | 6 | |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | Assert::that($fromTrait->getName())->same($toTrait->getName()); |
| 22 | 22 | |
| 23 | - if ($this->isClass($fromTrait) || ! $this->isClass($toTrait)) { |
|
| 23 | + if ($this->isClass($fromTrait) || !$this->isClass($toTrait)) { |
|
| 24 | 24 | return Changes::new(); |
| 25 | 25 | } |
| 26 | 26 | |
@@ -36,6 +36,6 @@ discard block |
||
| 36 | 36 | */ |
| 37 | 37 | private function isClass(ReflectionClass $class) : bool |
| 38 | 38 | { |
| 39 | - return ! ($class->isTrait() || $class->isInterface()); |
|
| 39 | + return !($class->isTrait() || $class->isInterface()); |
|
| 40 | 40 | } |
| 41 | 41 | } |
@@ -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\TraitBased; |
| 6 | 6 | |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | Assert::that($fromTrait->getName())->same($toTrait->getName()); |
| 22 | 22 | |
| 23 | - if ($toTrait->isTrait() || ! $toTrait->isInterface() || ! $fromTrait->isTrait()) { |
|
| 23 | + if ($toTrait->isTrait() || !$toTrait->isInterface() || !$fromTrait->isTrait()) { |
|
| 24 | 24 | return Changes::new(); |
| 25 | 25 | } |
| 26 | 26 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Roave\ApiCompare\Comparator\BackwardsCompatibility\TraitBased; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Roave\ApiCompare\Support; |
| 6 | 6 | |