@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | $this->originalCwd = $originalCwd; |
| 54 | 54 | $this->composerInstaller = $this->createMock(Installer::class); |
| 55 | 55 | $this->astLocator = (new BetterReflection())->astLocator(); |
| 56 | - $this->makeInstaller = function (string $installationPath) : Installer { |
|
| 56 | + $this->makeInstaller = function(string $installationPath) : Installer { |
|
| 57 | 57 | self::assertSame($this->expectedInstallatonPath, $installationPath); |
| 58 | 58 | |
| 59 | 59 | return $this->composerInstaller; |
@@ -102,13 +102,13 @@ discard block |
||
| 102 | 102 | |
| 103 | 103 | public function testWillLocateDependencies() : void |
| 104 | 104 | { |
| 105 | - $this->expectedInstallatonPath = $this->realpath(__DIR__ . '/../../asset/composer-installation-structure'); |
|
| 105 | + $this->expectedInstallatonPath = $this->realpath(__DIR__.'/../../asset/composer-installation-structure'); |
|
| 106 | 106 | |
| 107 | 107 | $this |
| 108 | 108 | ->composerInstaller |
| 109 | 109 | ->expects(self::once()) |
| 110 | 110 | ->method('run') |
| 111 | - ->willReturnCallback(function () : void { |
|
| 111 | + ->willReturnCallback(function() : void { |
|
| 112 | 112 | self::assertSame($this->expectedInstallatonPath, getcwd()); |
| 113 | 113 | }); |
| 114 | 114 | |
@@ -128,8 +128,8 @@ discard block |
||
| 128 | 128 | self::assertEquals( |
| 129 | 129 | new StaticClassMapSourceLocator( |
| 130 | 130 | [ |
| 131 | - 'A\\ClassName' => $this->realpath(__DIR__ . '/../../asset/composer-installation-structure/AClassName.php'), |
|
| 132 | - 'B\\ClassName' => $this->realpath(__DIR__ . '/../../asset/composer-installation-structure/BClassName.php'), |
|
| 131 | + 'A\\ClassName' => $this->realpath(__DIR__.'/../../asset/composer-installation-structure/AClassName.php'), |
|
| 132 | + 'B\\ClassName' => $this->realpath(__DIR__.'/../../asset/composer-installation-structure/BClassName.php'), |
|
| 133 | 133 | ], |
| 134 | 134 | $this->astLocator |
| 135 | 135 | ), |
@@ -138,11 +138,11 @@ discard block |
||
| 138 | 138 | self::assertEquals( |
| 139 | 139 | new AggregateSourceLocator([ |
| 140 | 140 | new SingleFileSourceLocator( |
| 141 | - $this->realpath(__DIR__ . '/../../asset/composer-installation-structure/included-file-1.php'), |
|
| 141 | + $this->realpath(__DIR__.'/../../asset/composer-installation-structure/included-file-1.php'), |
|
| 142 | 142 | $this->astLocator |
| 143 | 143 | ), |
| 144 | 144 | new SingleFileSourceLocator( |
| 145 | - $this->realpath(__DIR__ . '/../../asset/composer-installation-structure/included-file-2.php'), |
|
| 145 | + $this->realpath(__DIR__.'/../../asset/composer-installation-structure/included-file-2.php'), |
|
| 146 | 146 | $this->astLocator |
| 147 | 147 | ), |
| 148 | 148 | ]), |
@@ -154,13 +154,13 @@ discard block |
||
| 154 | 154 | |
| 155 | 155 | public function testWillLocateDependenciesEvenWithoutAutoloadFiles() : void |
| 156 | 156 | { |
| 157 | - $this->expectedInstallatonPath = $this->realpath(__DIR__ . '/../../asset/composer-installation-structure-without-autoload-files'); |
|
| 157 | + $this->expectedInstallatonPath = $this->realpath(__DIR__.'/../../asset/composer-installation-structure-without-autoload-files'); |
|
| 158 | 158 | |
| 159 | 159 | $this |
| 160 | 160 | ->composerInstaller |
| 161 | 161 | ->expects(self::once()) |
| 162 | 162 | ->method('run') |
| 163 | - ->willReturnCallback(function () : void { |
|
| 163 | + ->willReturnCallback(function() : void { |
|
| 164 | 164 | self::assertSame($this->expectedInstallatonPath, getcwd()); |
| 165 | 165 | }); |
| 166 | 166 | |
@@ -180,8 +180,8 @@ discard block |
||
| 180 | 180 | self::assertEquals( |
| 181 | 181 | new StaticClassMapSourceLocator( |
| 182 | 182 | [ |
| 183 | - 'A\\ClassName' => $this->realpath(__DIR__ . '/../../asset/composer-installation-structure-without-autoload-files/AClassName.php'), |
|
| 184 | - 'B\\ClassName' => $this->realpath(__DIR__ . '/../../asset/composer-installation-structure-without-autoload-files/BClassName.php'), |
|
| 183 | + 'A\\ClassName' => $this->realpath(__DIR__.'/../../asset/composer-installation-structure-without-autoload-files/AClassName.php'), |
|
| 184 | + 'B\\ClassName' => $this->realpath(__DIR__.'/../../asset/composer-installation-structure-without-autoload-files/BClassName.php'), |
|
| 185 | 185 | ], |
| 186 | 186 | $this->astLocator |
| 187 | 187 | ), |