@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | return array_merge( |
244 | 244 | [[null]], |
245 | 245 | array_merge(...array_map( |
246 | - static function (string $type) use ($reflector) : array { |
|
246 | + static function(string $type) use ($reflector) : array { |
|
247 | 247 | return [ |
248 | 248 | [ReflectionType::createFromTypeAndReflector($type, false, $reflector)], |
249 | 249 | [ReflectionType::createFromTypeAndReflector($type, true, $reflector)], |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | */ |
270 | 270 | public function testCovarianceConsidersNullability(string $type) : void |
271 | 271 | { |
272 | - $reflector = new ClassReflector(new StringSourceLocator( |
|
272 | + $reflector = new ClassReflector(new StringSourceLocator( |
|
273 | 273 | <<<'PHP' |
274 | 274 | <?php |
275 | 275 |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | |
76 | 76 | public function setUp() : void |
77 | 77 | { |
78 | - $repositoryPath = realpath(__DIR__ . '/../../../'); |
|
78 | + $repositoryPath = realpath(__DIR__.'/../../../'); |
|
79 | 79 | |
80 | 80 | $this->sourceRepository = CheckedOutRepository::fromPath($repositoryPath); |
81 | 81 | |
@@ -290,8 +290,8 @@ discard block |
||
290 | 290 | $this->output |
291 | 291 | ->expects(self::once()) |
292 | 292 | ->method('writeln') |
293 | - ->willReturnCallback(static function (string $output) use ($changeToExpect) : void { |
|
294 | - self::assertStringContainsString(' [BC] ' . $changeToExpect, $output); |
|
293 | + ->willReturnCallback(static function(string $output) use ($changeToExpect) : void { |
|
294 | + self::assertStringContainsString(' [BC] '.$changeToExpect, $output); |
|
295 | 295 | }); |
296 | 296 | |
297 | 297 | $this->compare->execute($this->input, $this->output); |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | |
379 | 379 | $this->getVersions->expects(self::once()) |
380 | 380 | ->method('fromRepository') |
381 | - ->with(self::callback(function (CheckedOutRepository $checkedOutRepository) : bool { |
|
381 | + ->with(self::callback(function(CheckedOutRepository $checkedOutRepository) : bool { |
|
382 | 382 | self::assertEquals($this->sourceRepository, $checkedOutRepository); |
383 | 383 | |
384 | 384 | return true; |
@@ -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 |
@@ -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); |