Passed
Pull Request — master (#1)
by James
02:50
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
 
@@ -28,15 +28,15 @@  discard block
 block discarded – undo
28 28
                 '[BC] Class ClassGone has been deleted',
29 29
             ],
30 30
             (new Comparator())->compare(
31
-                $reflectorFactory->__invoke(__DIR__ . '/../asset/api/old'),
32
-                $reflectorFactory->__invoke(__DIR__ . '/../asset/api/new')
31
+                $reflectorFactory->__invoke(__DIR__.'/../asset/api/old'),
32
+                $reflectorFactory->__invoke(__DIR__.'/../asset/api/new')
33 33
             )
34 34
         );
35 35
     }
36 36
 
37 37
     public function testRenamingParametersDoesNotCauseBCBreak()
38 38
     {
39
-        $reflectorFactory = function (string $sourceCode): ClassReflector {
39
+        $reflectorFactory = function(string $sourceCode): ClassReflector {
40 40
             $astLocator = (new BetterReflection())->astLocator();
41 41
             return new ClassReflector(
42 42
                 new AggregateSourceLocator([
Please login to merge, or discard this patch.