We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -1,3 +1,3 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -return function() {}; |
|
| 3 | +return function () {}; |
|
@@ -285,7 +285,7 @@ discard block |
||
| 285 | 285 | public function testUnionAutoguessed(): void |
| 286 | 286 | { |
| 287 | 287 | $this->expect('Killable', 'union', [ |
| 288 | - 'types' => ['Hero', 'Mandalorian', 'Sith'], |
|
| 288 | + 'types' => ['Hero', 'Mandalorian', 'Sith'], |
|
| 289 | 289 | 'resolveType' => '@=value.getType()', |
| 290 | 290 | ]); |
| 291 | 291 | } |
@@ -619,19 +619,19 @@ discard block |
||
| 619 | 619 | public function testInvalidPhpFiles(): void |
| 620 | 620 | { |
| 621 | 621 | $files = [ |
| 622 | - __DIR__ . '/fixtures/annotations/Invalid/HasNoClass.php', |
|
| 623 | - __DIR__ . '/fixtures/annotations/Invalid/EmptyPhpFile.php', |
|
| 624 | - __DIR__ . '/fixtures/annotations/Invalid/NotAPhpFile', |
|
| 625 | - __DIR__ . '/fixtures/annotations/Type/RootQuery.php', |
|
| 622 | + __DIR__.'/fixtures/annotations/Invalid/HasNoClass.php', |
|
| 623 | + __DIR__.'/fixtures/annotations/Invalid/EmptyPhpFile.php', |
|
| 624 | + __DIR__.'/fixtures/annotations/Invalid/NotAPhpFile', |
|
| 625 | + __DIR__.'/fixtures/annotations/Type/RootQuery.php', |
|
| 626 | 626 | ]; |
| 627 | 627 | $this->parser('reset', $this->parserConfig); |
| 628 | 628 | |
| 629 | - foreach($files as $file) { |
|
| 629 | + foreach ($files as $file) { |
|
| 630 | 630 | $this->parser('preParse', new SplFileInfo($file), $this->containerBuilder, $this->parserConfig); |
| 631 | 631 | } |
| 632 | 632 | |
| 633 | 633 | $config = []; |
| 634 | - foreach($files as $file) { |
|
| 634 | + foreach ($files as $file) { |
|
| 635 | 635 | $config += self::cleanConfig($this->parser('parse', new SplFileInfo($file), $this->containerBuilder, $this->parserConfig)); |
| 636 | 636 | } |
| 637 | 637 | |