@@ -6,45 +6,45 @@  | 
                                                    ||
| 6 | 6 | |
| 7 | 7 | class ComposerStaticInitaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa  | 
                                                        
| 8 | 8 |  { | 
                                                        
| 9 | - public static $files = array (  | 
                                                        |
| 10 | - 'a12da592622097d2b593a430e32e13fd' => __DIR__ . '/../..' . '/included-file-1.php',  | 
                                                        |
| 11 | - '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/../..' . '/included-file-2.php',  | 
                                                        |
| 9 | + public static $files = array(  | 
                                                        |
| 10 | + 'a12da592622097d2b593a430e32e13fd' => __DIR__.'/../..'.'/included-file-1.php',  | 
                                                        |
| 11 | + '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__.'/../..'.'/included-file-2.php',  | 
                                                        |
| 12 | 12 | );  | 
                                                        
| 13 | 13 | |
| 14 | - public static $prefixLengthsPsr4 = array (  | 
                                                        |
| 14 | + public static $prefixLengthsPsr4 = array(  | 
                                                        |
| 15 | 15 | 'p' =>  | 
                                                        
| 16 | - array (  | 
                                                        |
| 16 | + array(  | 
                                                        |
| 17 | 17 | 'phpDocumentor\\Reflection\\' => 25,  | 
                                                        
| 18 | 18 | ),  | 
                                                        
| 19 | 19 | );  | 
                                                        
| 20 | 20 | |
| 21 | - public static $prefixDirsPsr4 = array (  | 
                                                        |
| 21 | + public static $prefixDirsPsr4 = array(  | 
                                                        |
| 22 | 22 | 'phpDocumentor\\Reflection\\' =>  | 
                                                        
| 23 | - array (  | 
                                                        |
| 24 | - 0 => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src',  | 
                                                        |
| 25 | - 1 => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src',  | 
                                                        |
| 26 | - 2 => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src',  | 
                                                        |
| 23 | + array(  | 
                                                        |
| 24 | + 0 => __DIR__.'/..'.'/phpdocumentor/reflection-common/src',  | 
                                                        |
| 25 | + 1 => __DIR__.'/..'.'/phpdocumentor/reflection-docblock/src',  | 
                                                        |
| 26 | + 2 => __DIR__.'/..'.'/phpdocumentor/type-resolver/src',  | 
                                                        |
| 27 | 27 | ),  | 
                                                        
| 28 | 28 | );  | 
                                                        
| 29 | 29 | |
| 30 | - public static $prefixesPsr0 = array (  | 
                                                        |
| 30 | + public static $prefixesPsr0 = array(  | 
                                                        |
| 31 | 31 | 'P' =>  | 
                                                        
| 32 | - array (  | 
                                                        |
| 32 | + array(  | 
                                                        |
| 33 | 33 | 'Prophecy\\' =>  | 
                                                        
| 34 | - array (  | 
                                                        |
| 35 | - 0 => __DIR__ . '/..' . '/phpspec/prophecy/src',  | 
                                                        |
| 34 | + array(  | 
                                                        |
| 35 | + 0 => __DIR__.'/..'.'/phpspec/prophecy/src',  | 
                                                        |
| 36 | 36 | ),  | 
                                                        
| 37 | 37 | ),  | 
                                                        
| 38 | 38 | );  | 
                                                        
| 39 | 39 | |
| 40 | - public static $classMap = array (  | 
                                                        |
| 41 | - 'A\\ClassName' => __DIR__ . '/../..' . '/AClassName.php',  | 
                                                        |
| 42 | - 'B\\ClassName' => __DIR__ . '/../..' . '/BClassName.php',  | 
                                                        |
| 40 | + public static $classMap = array(  | 
                                                        |
| 41 | + 'A\\ClassName' => __DIR__.'/../..'.'/AClassName.php',  | 
                                                        |
| 42 | + 'B\\ClassName' => __DIR__.'/../..'.'/BClassName.php',  | 
                                                        |
| 43 | 43 | );  | 
                                                        
| 44 | 44 | |
| 45 | 45 | public static function getInitializer(ClassLoader $loader)  | 
                                                        
| 46 | 46 |      { | 
                                                        
| 47 | -        return \Closure::bind(function () use ($loader) { | 
                                                        |
| 47 | +        return \Closure::bind(function() use ($loader) { | 
                                                        |
| 48 | 48 | $loader->prefixLengthsPsr4 = ComposerStaticInitaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa::$prefixLengthsPsr4;  | 
                                                        
| 49 | 49 | $loader->prefixDirsPsr4 = ComposerStaticInitaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa::$prefixDirsPsr4;  | 
                                                        
| 50 | 50 | $loader->prefixesPsr0 = ComposerStaticInitaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa::$prefixesPsr0;  | 
                                                        
@@ -32,7 +32,7 @@  | 
                                                    ||
| 32 | 32 | $expectedRevision,  | 
                                                        
| 33 | 33 | (new GitParseRevision())->fromStringForRepository(  | 
                                                        
| 34 | 34 | $revisionToBeParsed,  | 
                                                        
| 35 | - CheckedOutRepository::fromPath(__DIR__ . '/../../../')  | 
                                                        |
| 35 | + CheckedOutRepository::fromPath(__DIR__.'/../../../')  | 
                                                        |
| 36 | 36 | )->__toString()  | 
                                                        
| 37 | 37 | );  | 
                                                        
| 38 | 38 | }  | 
                                                        
@@ -18,14 +18,14 @@  | 
                                                    ||
| 18 | 18 |  { | 
                                                        
| 19 | 19 | public function testFromPath() : void  | 
                                                        
| 20 | 20 |      { | 
                                                        
| 21 | -        $path = sys_get_temp_dir() . '/' . uniqid('testPath', true); | 
                                                        |
| 21 | +        $path = sys_get_temp_dir().'/'.uniqid('testPath', true); | 
                                                        |
| 22 | 22 | mkdir($path, 0777, true);  | 
                                                        
| 23 | - mkdir($path . '/.git');  | 
                                                        |
| 23 | + mkdir($path.'/.git');  | 
                                                        |
| 24 | 24 | |
| 25 | 25 | $checkedOutRepository = CheckedOutRepository::fromPath($path);  | 
                                                        
| 26 | 26 | self::assertSame($path, (string) $checkedOutRepository);  | 
                                                        
| 27 | 27 | |
| 28 | - rmdir($path . '/.git');  | 
                                                        |
| 28 | + rmdir($path.'/.git');  | 
                                                        |
| 29 | 29 | rmdir($path);  | 
                                                        
| 30 | 30 | }  | 
                                                        
| 31 | 31 | }  | 
                                                        
@@ -73,7 +73,7 @@  | 
                                                    ||
| 73 | 73 | ->astLocator  | 
                                                        
| 74 | 74 | ->expects(self::once())  | 
                                                        
| 75 | 75 |              ->method('findReflection') | 
                                                        
| 76 | -            ->with($this->reflector, self::callback(function (LocatedSource $source) : bool { | 
                                                        |
| 76 | +            ->with($this->reflector, self::callback(function(LocatedSource $source) : bool { | 
                                                        |
| 77 | 77 | self::assertSame(file_get_contents(__FILE__), $source->getSource());  | 
                                                        
| 78 | 78 | self::assertSame(__FILE__, $source->getFileName());  | 
                                                        
| 79 | 79 | self::assertNull($source->getExtensionName());  | 
                                                        
@@ -18,7 +18,7 @@  | 
                                                    ||
| 18 | 18 | public static function fromPath(string $path) : self  | 
                                                        
| 19 | 19 |      { | 
                                                        
| 20 | 20 | Assert::that($path)->directory();  | 
                                                        
| 21 | - Assert::that($path . '/.git')->directory();  | 
                                                        |
| 21 | + Assert::that($path.'/.git')->directory();  | 
                                                        |
| 22 | 22 | $instance = new self();  | 
                                                        
| 23 | 23 | $instance->path = $path;  | 
                                                        
| 24 | 24 | return $instance;  | 
                                                        
@@ -76,9 +76,9 @@ discard block  | 
                                                    ||
| 76 | 76 | $classMap = $classMapProperty->getDefaultValue();  | 
                                                        
| 77 | 77 | |
| 78 | 78 | Assert::that($classMap)  | 
                                                        
| 79 | - ->isArray()  | 
                                                        |
| 80 | - ->all()  | 
                                                        |
| 81 | - ->file();  | 
                                                        |
| 79 | + ->isArray()  | 
                                                        |
| 80 | + ->all()  | 
                                                        |
| 81 | + ->file();  | 
                                                        |
| 82 | 82 | |
| 83 | 83 | return new StaticClassMapSourceLocator($classMap, $this->astLocator);  | 
                                                        
| 84 | 84 | }  | 
                                                        
@@ -92,9 +92,9 @@ discard block  | 
                                                    ||
| 92 | 92 | $filesMap = $filesMapProperty->getDefaultValue();  | 
                                                        
| 93 | 93 | |
| 94 | 94 | Assert::that($filesMap)  | 
                                                        
| 95 | - ->isArray()  | 
                                                        |
| 96 | - ->all()  | 
                                                        |
| 97 | - ->file();  | 
                                                        |
| 95 | + ->isArray()  | 
                                                        |
| 96 | + ->all()  | 
                                                        |
| 97 | + ->file();  | 
                                                        |
| 98 | 98 | |
| 99 | 99 | return new AggregateSourceLocator(array_values(array_map(  | 
                                                        
| 100 | 100 |              function (string $path) : SourceLocator { | 
                                                        
@@ -43,9 +43,9 @@ discard block  | 
                                                    ||
| 43 | 43 | public function __invoke(string $installationPath) : SourceLocator  | 
                                                        
| 44 | 44 |      { | 
                                                        
| 45 | 45 | Assert::that($installationPath)->directory();  | 
                                                        
| 46 | - Assert::that($installationPath . '/composer.json')->file();  | 
                                                        |
| 46 | + Assert::that($installationPath.'/composer.json')->file();  | 
                                                        |
| 47 | 47 | |
| 48 | -        $this->runInDirectory(function () use ($installationPath) : void { | 
                                                        |
| 48 | +        $this->runInDirectory(function() use ($installationPath) : void { | 
                                                        |
| 49 | 49 | $installer = ($this->makeComposerInstaller)($installationPath);  | 
                                                        
| 50 | 50 | |
| 51 | 51 | Assert::that($installer)->isInstanceOf(Installer::class);  | 
                                                        
@@ -62,7 +62,7 @@ discard block  | 
                                                    ||
| 62 | 62 | $installer->run();  | 
                                                        
| 63 | 63 | }, $installationPath);  | 
                                                        
| 64 | 64 | |
| 65 | - $autoloadStatic = $installationPath . '/vendor/composer/autoload_static.php';  | 
                                                        |
| 65 | + $autoloadStatic = $installationPath.'/vendor/composer/autoload_static.php';  | 
                                                        |
| 66 | 66 | |
| 67 | 67 | Assert::that($autoloadStatic)->file();  | 
                                                        
| 68 | 68 | |
@@ -104,7 +104,7 @@ discard block  | 
                                                    ||
| 104 | 104 |      { | 
                                                        
| 105 | 105 |          $filesMapProperty = $autoloadStatic->getProperty('files'); | 
                                                        
| 106 | 106 | |
| 107 | -        if (! $filesMapProperty) { | 
                                                        |
| 107 | +        if (!$filesMapProperty) { | 
                                                        |
| 108 | 108 | return new AggregateSourceLocator();  | 
                                                        
| 109 | 109 | }  | 
                                                        
| 110 | 110 | |
@@ -119,7 +119,7 @@ discard block  | 
                                                    ||
| 119 | 119 | ->file();  | 
                                                        
| 120 | 120 | |
| 121 | 121 | return new AggregateSourceLocator(array_values(array_map(  | 
                                                        
| 122 | -            function (string $path) : SourceLocator { | 
                                                        |
| 122 | +            function(string $path) : SourceLocator { | 
                                                        |
| 123 | 123 | return new SingleFileSourceLocator(  | 
                                                        
| 124 | 124 | realpath($path),  | 
                                                        
| 125 | 125 | $this->astLocator  | 
                                                        
@@ -34,7 +34,7 @@  | 
                                                    ||
| 34 | 34 | */  | 
                                                        
| 35 | 35 | protected function createLocatedSource(Identifier $identifier) : ?LocatedSource  | 
                                                        
| 36 | 36 |      { | 
                                                        
| 37 | -        if (! $identifier->isClass()) { | 
                                                        |
| 37 | +        if (!$identifier->isClass()) { | 
                                                        |
| 38 | 38 | return null;  | 
                                                        
| 39 | 39 | }  | 
                                                        
| 40 | 40 | |
@@ -17,7 +17,7 @@ discard block  | 
                                                    ||
| 17 | 17 |      { | 
                                                        
| 18 | 18 |          $changeText = uniqid('changeText', true); | 
                                                        
| 19 | 19 | $change = Change::added($changeText, false);  | 
                                                        
| 20 | -        self::assertSame('     ADDED: ' . $changeText, (string) $change); | 
                                                        |
| 20 | +        self::assertSame('     ADDED: '.$changeText, (string) $change); | 
                                                        |
| 21 | 21 | self::assertTrue($change->isAdded());  | 
                                                        
| 22 | 22 | self::assertFalse($change->isChanged());  | 
                                                        
| 23 | 23 | self::assertFalse($change->isRemoved());  | 
                                                        
@@ -27,7 +27,7 @@ discard block  | 
                                                    ||
| 27 | 27 |      { | 
                                                        
| 28 | 28 |          $changeText = uniqid('changeText', true); | 
                                                        
| 29 | 29 | $change = Change::added($changeText, true);  | 
                                                        
| 30 | -        self::assertSame('[BC] ADDED: ' . $changeText, (string) $change); | 
                                                        |
| 30 | +        self::assertSame('[BC] ADDED: '.$changeText, (string) $change); | 
                                                        |
| 31 | 31 | self::assertTrue($change->isAdded());  | 
                                                        
| 32 | 32 | self::assertFalse($change->isChanged());  | 
                                                        
| 33 | 33 | self::assertFalse($change->isRemoved());  | 
                                                        
@@ -37,7 +37,7 @@ discard block  | 
                                                    ||
| 37 | 37 |      { | 
                                                        
| 38 | 38 |          $changeText = uniqid('changeText', true); | 
                                                        
| 39 | 39 | $change = Change::changed($changeText, false);  | 
                                                        
| 40 | -        self::assertSame('     CHANGED: ' . $changeText, (string) $change); | 
                                                        |
| 40 | +        self::assertSame('     CHANGED: '.$changeText, (string) $change); | 
                                                        |
| 41 | 41 | self::assertFalse($change->isAdded());  | 
                                                        
| 42 | 42 | self::assertTrue($change->isChanged());  | 
                                                        
| 43 | 43 | self::assertFalse($change->isRemoved());  | 
                                                        
@@ -47,7 +47,7 @@ discard block  | 
                                                    ||
| 47 | 47 |      { | 
                                                        
| 48 | 48 |          $changeText = uniqid('changeText', true); | 
                                                        
| 49 | 49 | $change = Change::changed($changeText, true);  | 
                                                        
| 50 | -        self::assertSame('[BC] CHANGED: ' . $changeText, (string) $change); | 
                                                        |
| 50 | +        self::assertSame('[BC] CHANGED: '.$changeText, (string) $change); | 
                                                        |
| 51 | 51 | self::assertFalse($change->isAdded());  | 
                                                        
| 52 | 52 | self::assertTrue($change->isChanged());  | 
                                                        
| 53 | 53 | self::assertFalse($change->isRemoved());  | 
                                                        
@@ -57,7 +57,7 @@ discard block  | 
                                                    ||
| 57 | 57 |      { | 
                                                        
| 58 | 58 |          $changeText = uniqid('changeText', true); | 
                                                        
| 59 | 59 | $change = Change::removed($changeText, false);  | 
                                                        
| 60 | -        self::assertSame('     REMOVED: ' . $changeText, (string) $change); | 
                                                        |
| 60 | +        self::assertSame('     REMOVED: '.$changeText, (string) $change); | 
                                                        |
| 61 | 61 | self::assertFalse($change->isAdded());  | 
                                                        
| 62 | 62 | self::assertFalse($change->isChanged());  | 
                                                        
| 63 | 63 | self::assertTrue($change->isRemoved());  | 
                                                        
@@ -67,7 +67,7 @@ discard block  | 
                                                    ||
| 67 | 67 |      { | 
                                                        
| 68 | 68 |          $changeText = uniqid('changeText', true); | 
                                                        
| 69 | 69 | $change = Change::removed($changeText, true);  | 
                                                        
| 70 | -        self::assertSame('[BC] REMOVED: ' . $changeText, (string) $change); | 
                                                        |
| 70 | +        self::assertSame('[BC] REMOVED: '.$changeText, (string) $change); | 
                                                        |
| 71 | 71 | self::assertFalse($change->isAdded());  | 
                                                        
| 72 | 72 | self::assertFalse($change->isChanged());  | 
                                                        
| 73 | 73 | self::assertTrue($change->isRemoved());  | 
                                                        
@@ -63,7 +63,7 @@  | 
                                                    ||
| 63 | 63 | return array_combine(  | 
                                                        
| 64 | 64 | array_keys($properties),  | 
                                                        
| 65 | 65 | array_map(  | 
                                                        
| 66 | -                function (string $expectedMessage, ReflectionProperty $property) : array { | 
                                                        |
| 66 | +                function(string $expectedMessage, ReflectionProperty $property) : array { | 
                                                        |
| 67 | 67 | return [$property, $expectedMessage];  | 
                                                        
| 68 | 68 | },  | 
                                                        
| 69 | 69 | array_keys($properties),  |