Passed
Push — master ( 8bad73...c5d158 )
by David
57s queued 11s
created
tests/unitTests/DiscoveryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $result = Discovery::getInstance()->get('test-asset');
26 26
 
27
-        $this->assertSame([ 'a1', 'a2', 'b' ], $result);
27
+        $this->assertSame(['a1', 'a2', 'b'], $result);
28 28
     }
29 29
 
30 30
     public function testEmptyValues()
Please login to merge, or discard this patch.
tests/unitTests/AssetsBuilderTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         $io = new BufferIO();
21 21
 
22 22
         $assetsBuilder = new AssetsBuilder($installationManager, $io, '.');
23
-        $assetTypes = $assetsBuilder->buildAssetTypes([ $packageA ]);
23
+        $assetTypes = $assetsBuilder->buildAssetTypes([$packageA]);
24 24
 
25 25
         $this->assertCount(1, $assetTypes);
26 26
         $this->assertArrayHasKey('test-asset', $assetTypes);
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         $io = new BufferIO();
37 37
 
38 38
         $assetsBuilder = new AssetsBuilder($installationManager, $io, '.');
39
-        $assetTypes = $assetsBuilder->buildAssetTypes([ $packageA ]);
39
+        $assetTypes = $assetsBuilder->buildAssetTypes([$packageA]);
40 40
 
41 41
         $this->assertCount(0, $assetTypes);
42 42
         $this->assertNotEmpty($io->getOutput());
Please login to merge, or discard this patch.
tests/unitTests/AbstractDiscoveryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $packageA = new Package('package/a', '1.0.0', '1.0.0');
35 35
 
36 36
         $repository = $this->createMock(RepositoryInterface::class);
37
-        $repository->method('getPackages')->willReturn([ $packageA ]);
37
+        $repository->method('getPackages')->willReturn([$packageA]);
38 38
 
39 39
         return $repository;
40 40
     }
Please login to merge, or discard this patch.