| @@ -21,7 +21,7 @@ | ||
| 21 | 21 | return ( | 
| 22 | 22 | $parent instanceof ArrayItem && | 
| 23 | 23 | false === $this->ignoreArray($parent) | 
| 24 | - ) || $parent instanceof ArrayDimFetch; | |
| 24 | + ) || $parent instanceof ArrayDimFetch; | |
| 25 | 25 | } | 
| 26 | 26 | |
| 27 | 27 | private function ignoreArray(ArrayItem $node): bool | 
| @@ -22,7 +22,7 @@ | ||
| 22 | 22 | $parent = ParentConnector::findParent($node); | 
| 23 | 23 | |
| 24 | 24 | return ( | 
| 25 | - $parent instanceof ArrayItem && | |
| 25 | + $parent instanceof ArrayItem && | |
| 26 | 26 | false === $this->ignoreArray($parent) | 
| 27 | 27 | ) || $parent instanceof ArrayDimFetch; | 
| 28 | 28 | } | 
| @@ -31,7 +31,7 @@ | ||
| 31 | 31 | ->ignoreVCS(true) | 
| 32 | 32 | ->append( | 
| 33 | 33 | array_map( | 
| 34 | -                    function (string $file) { | |
| 34 | +                    function(string $file) { | |
| 35 | 35 | return new SplFileInfo(realpath($file), dirname($file), $file); | 
| 36 | 36 | }, | 
| 37 | 37 | $files | 
| @@ -238,7 +238,7 @@ | ||
| 238 | 238 |          if (false === is_array($result)) { | 
| 239 | 239 | return array_filter( | 
| 240 | 240 |                  explode(',', (string) $result), | 
| 241 | -                static function ($value) { | |
| 241 | +                static function($value) { | |
| 242 | 242 | return false === empty($value); | 
| 243 | 243 | } | 
| 244 | 244 | ); | 
| @@ -34,16 +34,16 @@ | ||
| 34 | 34 | public static function create(): self | 
| 35 | 35 |      { | 
| 36 | 36 | return new self([ | 
| 37 | -            Lexer::class => static function (self $container): Lexer { | |
| 37 | +            Lexer::class => static function(self $container): Lexer { | |
| 38 | 38 | // For PHP < 8.0 we want to specify a lexer object. | 
| 39 | 39 | // Otherwise, the code creates a `Lexer\Emulative()` instance, which by default uses PHP 8 compatibility | 
| 40 | 40 | // with e.g. longer list of reserved keywords | 
| 41 | 41 |                  return version_compare('8.0', PHP_VERSION, '<') ? new Lexer() : new Lexer\Emulative(); | 
| 42 | 42 | }, | 
| 43 | -            Parser::class => static function (self $container): Parser { | |
| 43 | +            Parser::class => static function(self $container): Parser { | |
| 44 | 44 | return (new ParserFactory())->create(ParserFactory::PREFER_PHP7, $container->getLexer()); | 
| 45 | 45 | }, | 
| 46 | -            FileParser::class => static function (self $container): FileParser { | |
| 46 | +            FileParser::class => static function(self $container): FileParser { | |
| 47 | 47 | return new FileParser($container->getParser()); | 
| 48 | 48 | }, | 
| 49 | 49 | ]); |