@@ -17,7 +17,7 @@ |
||
17 | 17 | |
18 | 18 | public static function fromPath(string $path) : self |
19 | 19 | { |
20 | - Assert::that($path . '/.git')->directory(); |
|
20 | + Assert::that($path.'/.git')->directory(); |
|
21 | 21 | $instance = new self(); |
22 | 22 | $instance->path = $path; |
23 | 23 |
@@ -18,10 +18,10 @@ |
||
18 | 18 | /** @var string[] */ |
19 | 19 | private $classMap; |
20 | 20 | |
21 | - /** |
|
22 | - * @param array<string, string> $classMap map of class => file. Every file must exist, |
|
23 | - * every key must be non-empty |
|
24 | - */ |
|
21 | + /** |
|
22 | + * @param array<string, string> $classMap map of class => file. Every file must exist, |
|
23 | + * every key must be non-empty |
|
24 | + */ |
|
25 | 25 | public function __construct( |
26 | 26 | array $classMap, |
27 | 27 | Locator $astLocator |
@@ -37,9 +37,9 @@ |
||
37 | 37 | |
38 | 38 | public function __invoke(string $installationPath) : SourceLocator |
39 | 39 | { |
40 | - Assert::that($installationPath . '/composer.json')->file(); |
|
40 | + Assert::that($installationPath.'/composer.json')->file(); |
|
41 | 41 | |
42 | - $this->runInDirectory(function () use ($installationPath) : void { |
|
42 | + $this->runInDirectory(function() use ($installationPath) : void { |
|
43 | 43 | $installer = ($this->makeComposerInstaller)($installationPath); |
44 | 44 | |
45 | 45 | assert($installer instanceof Installer); |