Completed
Pull Request — master (#1)
by James
01:44
created
src/Comparator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Roave\ApiCompare;
5 5
 
Please login to merge, or discard this patch.
src/Factory/DirectoryReflectorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Roave\ApiCompare\Factory;
5 5
 
Please login to merge, or discard this patch.
test/asset/api/old/Thing.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 class Thing
5 5
 {
Please login to merge, or discard this patch.
test/asset/api/old/ClassGone.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 class ClassGone
5 5
 {
Please login to merge, or discard this patch.
test/asset/api/new/Thing.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 class Thing
5 5
 {
Please login to merge, or discard this patch.
test/unit/ComparatorTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace RoaveTest\ApiCompare;
5 5
 
@@ -37,15 +37,15 @@  discard block
 block discarded – undo
37 37
                 '[BC] Class ClassGone has been deleted',
38 38
             ],
39 39
             (new Comparator())->compare(
40
-                $reflectorFactory->__invoke(__DIR__ . '/../asset/api/old'),
41
-                $reflectorFactory->__invoke(__DIR__ . '/../asset/api/new')
40
+                $reflectorFactory->__invoke(__DIR__.'/../asset/api/old'),
41
+                $reflectorFactory->__invoke(__DIR__.'/../asset/api/new')
42 42
             )
43 43
         );
44 44
     }
45 45
 
46 46
     public function testRenamingParametersDoesNotCauseBcBreak(): void
47 47
     {
48
-        $reflectorFactory = function (string $sourceCode): ClassReflector {
48
+        $reflectorFactory = function(string $sourceCode): ClassReflector {
49 49
             $astLocator = (new BetterReflection())->astLocator();
50 50
             return new ClassReflector(
51 51
                 new AggregateSourceLocator([
Please login to merge, or discard this patch.