@@ -48,13 +48,13 @@ discard block |
||
48 | 48 | public function __invoke(string $installationPath) : SourceLocator |
49 | 49 | { |
50 | 50 | Assert::that($installationPath)->directory(); |
51 | - Assert::that($installationPath . '/composer.json')->file(); |
|
51 | + Assert::that($installationPath.'/composer.json')->file(); |
|
52 | 52 | |
53 | - $this->runInDirectory(function () : void { |
|
53 | + $this->runInDirectory(function() : void { |
|
54 | 54 | $this->installer->run(); |
55 | 55 | }, $installationPath); |
56 | 56 | |
57 | - $autoloadStatic = $installationPath . '/vendor/composer/autoload_static.php'; |
|
57 | + $autoloadStatic = $installationPath.'/vendor/composer/autoload_static.php'; |
|
58 | 58 | |
59 | 59 | Assert::that($autoloadStatic)->file(); |
60 | 60 | |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | ->file(); |
108 | 108 | |
109 | 109 | return new AggregateSourceLocator(array_values(array_map( |
110 | - function (string $path) : SourceLocator { |
|
110 | + function(string $path) : SourceLocator { |
|
111 | 111 | return new SingleFileSourceLocator( |
112 | 112 | realpath($path), |
113 | 113 | $this->astLocator |
@@ -74,7 +74,7 @@ |
||
74 | 74 | |
75 | 75 | private function typeToString(?ReflectionType $type) : string |
76 | 76 | { |
77 | - if (! $type) { |
|
77 | + if (!$type) { |
|
78 | 78 | return 'no type'; |
79 | 79 | } |
80 | 80 |
@@ -74,7 +74,7 @@ |
||
74 | 74 | |
75 | 75 | private function typeToString(?ReflectionType $type) : string |
76 | 76 | { |
77 | - if (! $type) { |
|
77 | + if (!$type) { |
|
78 | 78 | return 'no type'; |
79 | 79 | } |
80 | 80 |
@@ -74,7 +74,7 @@ |
||
74 | 74 | |
75 | 75 | private function typeToString(?ReflectionType $type) : string |
76 | 76 | { |
77 | - if (! $type) { |
|
77 | + if (!$type) { |
|
78 | 78 | return 'no type'; |
79 | 79 | } |
80 | 80 |
@@ -48,7 +48,7 @@ |
||
48 | 48 | ) : Changes { |
49 | 49 | $changelog = Changes::new(); |
50 | 50 | |
51 | - $definedApiClassNames = array_map(function (ReflectionClass $class) : string { |
|
51 | + $definedApiClassNames = array_map(function(ReflectionClass $class) : string { |
|
52 | 52 | return $class->getName(); |
53 | 53 | }, $definedSymbols->getAllClasses()); |
54 | 54 |