Passed
Pull Request — master (#122)
by Marco
06:08
created
test/unit/DetectChanges/Variance/TypeIsCovariantTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
test/unit/Command/AssertBackwardsCompatibleTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Git/CheckedOutRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/LocateDependencies/LocateDependenciesViaComposer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.