Passed
Pull Request — master (#48)
by Marco
03:24
created
test/unit/Command/ApiCompareTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
     public function setUp() : void
76 76
     {
77
-        $this->sourceRepository = CheckedOutRepository::fromPath(realpath(__DIR__ . '/../../../'));
77
+        $this->sourceRepository = CheckedOutRepository::fromPath(realpath(__DIR__.'/../../../'));
78 78
         chdir((string) $this->sourceRepository);
79 79
 
80 80
         $this->input              = $this->createMock(InputInterface::class);
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 
262 262
         $this->output->expects(self::any())
263 263
             ->method('writeln')
264
-            ->willReturnCallback(function (string $output) use ($changeToExpect) : void {
264
+            ->willReturnCallback(function(string $output) use ($changeToExpect) : void {
265 265
                 self::assertContains($changeToExpect, $output);
266 266
             });
267 267
     }
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
 
309 309
         $this->getVersions->expects(self::once())
310 310
             ->method('fromRepository')
311
-            ->with(self::callback(function (CheckedOutRepository $checkedOutRepository) : bool {
311
+            ->with(self::callback(function(CheckedOutRepository $checkedOutRepository) : bool {
312 312
                 self::assertEquals($this->sourceRepository, $checkedOutRepository);
313 313
                 return true;
314 314
             }))
Please login to merge, or discard this patch.
src/Comparator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     ) : Changes {
42 42
         $changelog = Changes::new();
43 43
 
44
-        $definedApiClassNames = array_map(function (ReflectionClass $class) : string {
44
+        $definedApiClassNames = array_map(function(ReflectionClass $class) : string {
45 45
             return $class->getName();
46 46
         }, $definedApi->getAllClasses());
47 47
 
Please login to merge, or discard this patch.
BackwardsCompatibility/FunctionBased/ReturnTypeCovarianceChanged.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
     private function typeToString(?ReflectionType $type) : string
76 76
     {
77
-        if (! $type) {
77
+        if (!$type) {
78 78
             return 'no type';
79 79
         }
80 80
 
Please login to merge, or discard this patch.
Comparator/BackwardsCompatibility/FunctionBased/ParameterTypeChanged.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
     private function typeToString(?ReflectionType $type) : string
76 76
     {
77
-        if (! $type) {
77
+        if (!$type) {
78 78
             return 'no type';
79 79
         }
80 80
 
Please login to merge, or discard this patch.
src/Comparator/BackwardsCompatibility/FunctionBased/ReturnTypeChanged.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
     private function typeToString(?ReflectionType $type) : string
76 76
     {
77
-        if (! $type) {
77
+        if (!$type) {
78 78
             return 'no type';
79 79
         }
80 80
 
Please login to merge, or discard this patch.