@@ -32,14 +32,14 @@ discard block |
||
| 32 | 32 | use function file_exists; |
| 33 | 33 | use function getcwd; |
| 34 | 34 | |
| 35 | -(function () : void { |
|
| 36 | - (function () : void { |
|
| 35 | +(function() : void { |
|
| 36 | + (function() : void { |
|
| 37 | 37 | $autoloaderLocations = [ |
| 38 | - __DIR__ . '/../vendor/autoload.php', |
|
| 39 | - __DIR__ . '/../autoload.php', |
|
| 40 | - __DIR__ . '/../../autoload.php', |
|
| 41 | - __DIR__ . '/../../../autoload.php', |
|
| 42 | - getcwd() . '/vendor/autoload.php', |
|
| 38 | + __DIR__.'/../vendor/autoload.php', |
|
| 39 | + __DIR__.'/../autoload.php', |
|
| 40 | + __DIR__.'/../../autoload.php', |
|
| 41 | + __DIR__.'/../../../autoload.php', |
|
| 42 | + getcwd().'/vendor/autoload.php', |
|
| 43 | 43 | ]; |
| 44 | 44 | |
| 45 | 45 | foreach ($autoloaderLocations as $autoload) { |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | new GetVersionCollectionFromGitRepository(), |
| 69 | 69 | new PickLastMinorVersionFromCollection(), |
| 70 | 70 | new LocateDependenciesViaComposer( |
| 71 | - function (string $installationPath) use ($composerIo) : Installer { |
|
| 71 | + function(string $installationPath) use ($composerIo) : Installer { |
|
| 72 | 72 | return Installer::create( |
| 73 | 73 | $composerIo, |
| 74 | 74 | (new Factory())->createComposer( |