@@ -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\ClassBased; |
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 RoaveTest\ApiCompare\Comparator\BackwardsCompatibility\ClassBased; |
6 | 6 | |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | self::assertSame( |
31 | 31 | $expectedMessages, |
32 | - array_map(function (Change $change) : string { |
|
32 | + array_map(function(Change $change) : string { |
|
33 | 33 | return $change->__toString(); |
34 | 34 | }, iterator_to_array($changes)) |
35 | 35 | ); |
@@ -43,11 +43,11 @@ discard block |
||
43 | 43 | return [ |
44 | 44 | 'RoaveTestAsset\\ClassWithPropertiesBeingRemoved' => [ |
45 | 45 | (new ClassReflector(new SingleFileSourceLocator( |
46 | - __DIR__ . '/../../../../asset/api/old/ClassWithPropertiesBeingRemoved.php', |
|
46 | + __DIR__.'/../../../../asset/api/old/ClassWithPropertiesBeingRemoved.php', |
|
47 | 47 | $locator |
48 | 48 | )))->reflect('RoaveTestAsset\\ClassWithPropertiesBeingRemoved'), |
49 | 49 | (new ClassReflector(new SingleFileSourceLocator( |
50 | - __DIR__ . '/../../../../asset/api/new/ClassWithPropertiesBeingRemoved.php', |
|
50 | + __DIR__.'/../../../../asset/api/new/ClassWithPropertiesBeingRemoved.php', |
|
51 | 51 | $locator |
52 | 52 | )))->reflect('RoaveTestAsset\\ClassWithPropertiesBeingRemoved'), |
53 | 53 | [ |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace RoaveTestAsset; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace RoaveTestAsset; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace RoaveTestAsset; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace RoaveTestAsset; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace RoaveTestAsset; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace RoaveTestAsset; |
5 | 5 |
@@ -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 RoaveTest\ApiCompare\Comparator\BackwardsCompatibility\ClassBased; |
6 | 6 | |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | self::assertSame( |
31 | 31 | $expectedMessages, |
32 | - array_map(function (Change $change) : string { |
|
32 | + array_map(function(Change $change) : string { |
|
33 | 33 | return $change->__toString(); |
34 | 34 | }, iterator_to_array($changes)) |
35 | 35 | ); |
@@ -43,11 +43,11 @@ discard block |
||
43 | 43 | return [ |
44 | 44 | 'RoaveTestAsset\\ClassWithMethodsBeingRemoved' => [ |
45 | 45 | (new ClassReflector(new SingleFileSourceLocator( |
46 | - __DIR__ . '/../../../../asset/api/old/ClassWithMethodsBeingRemoved.php', |
|
46 | + __DIR__.'/../../../../asset/api/old/ClassWithMethodsBeingRemoved.php', |
|
47 | 47 | $locator |
48 | 48 | )))->reflect('RoaveTestAsset\\ClassWithMethodsBeingRemoved'), |
49 | 49 | (new ClassReflector(new SingleFileSourceLocator( |
50 | - __DIR__ . '/../../../../asset/api/new/ClassWithMethodsBeingRemoved.php', |
|
50 | + __DIR__.'/../../../../asset/api/new/ClassWithMethodsBeingRemoved.php', |
|
51 | 51 | $locator |
52 | 52 | )))->reflect('RoaveTestAsset\\ClassWithMethodsBeingRemoved'), |
53 | 53 | [ |