Completed
Push — master ( 1a7910...41e170 )
by Aleksandar
126:10 queued 78:50
created
packages/Menu/tests/View/Helper/MenuUrlHelperFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
             ->disableOriginalConstructor()
11 11
             ->getMockForAbstractClass();
12 12
         $container = $this->getMockBuilder(\Interop\Container\ContainerInterface::class)
13
-            ->setMethods(['get'])
13
+            ->setMethods([ 'get' ])
14 14
             ->getMockForAbstractClass();
15 15
         $container->expects(static::at(0))
16 16
             ->method('get')
Please login to merge, or discard this patch.
packages/Menu/tests/View/Helper/MenuItemsFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
             ->disableOriginalConstructor()
11 11
             ->getMockForAbstractClass();
12 12
         $container = $this->getMockBuilder(\Interop\Container\ContainerInterface::class)
13
-            ->setMethods(['get'])
13
+            ->setMethods([ 'get' ])
14 14
             ->getMockForAbstractClass();
15 15
         $container->expects(static::at(0))
16 16
             ->method('get')
Please login to merge, or discard this patch.
packages/Menu/tests/View/Helper/MenuUrlHelperTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,33 +10,33 @@  discard block
 block discarded – undo
10 10
             ->disableOriginalConstructor()
11 11
             ->getMockForAbstractClass();
12 12
         $menuHelper = new \Menu\View\Helper\MenuUrlHelper($urlHelper);
13
-        static::assertSame('http://test.example.com', $menuHelper(['href' => 'http://test.example.com']));
13
+        static::assertSame('http://test.example.com', $menuHelper([ 'href' => 'http://test.example.com' ]));
14 14
     }
15 15
 
16 16
     public function testInvokingUrlHelperWithPageSlugShouldReturnString()
17 17
     {
18 18
         $urlHelper = $this->getMockBuilder(\Zend\Expressive\Helper\UrlHelper::class)
19
-            ->setMethods(['__invoke'])
19
+            ->setMethods([ '__invoke' ])
20 20
             ->disableOriginalConstructor()
21 21
             ->getMockForAbstractClass();
22 22
         $urlHelper->expects(static::once())
23 23
             ->method('__invoke')
24 24
             ->willReturn('test');
25 25
         $menuHelper = new \Menu\View\Helper\MenuUrlHelper($urlHelper);
26
-        static::assertSame('test', $menuHelper(['page_slug' => 'test-slug', 'href' => false]));
26
+        static::assertSame('test', $menuHelper([ 'page_slug' => 'test-slug', 'href' => false ]));
27 27
     }
28 28
 
29 29
     public function testInvokingUrlHelperWithCategorySlugShouldReturnString()
30 30
     {
31 31
         $urlHelper = $this->getMockBuilder(\Zend\Expressive\Helper\UrlHelper::class)
32
-            ->setMethods(['__invoke'])
32
+            ->setMethods([ '__invoke' ])
33 33
             ->disableOriginalConstructor()
34 34
             ->getMockForAbstractClass();
35 35
         $urlHelper->expects(static::once())
36 36
             ->method('__invoke')
37 37
             ->willReturn('test');
38 38
         $menuHelper = new \Menu\View\Helper\MenuUrlHelper($urlHelper);
39
-        static::assertSame('test', $menuHelper(['category_slug' => 'test-slug', 'href' => false, 'page_slug' => false]));
39
+        static::assertSame('test', $menuHelper([ 'category_slug' => 'test-slug', 'href' => false, 'page_slug' => false ]));
40 40
     }
41 41
 
42 42
     public function testInvokingUrlHelperWithAllParamsFalseShouldReturnString()
@@ -45,6 +45,6 @@  discard block
 block discarded – undo
45 45
             ->disableOriginalConstructor()
46 46
             ->getMockForAbstractClass();
47 47
         $menuHelper = new \Menu\View\Helper\MenuUrlHelper($urlHelper);
48
-        static::assertSame('#', $menuHelper(['category_slug' => false, 'href' => false, 'page_slug' => false]));
48
+        static::assertSame('#', $menuHelper([ 'category_slug' => false, 'href' => false, 'page_slug' => false ]));
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
packages/Menu/tests/Factory/Controller/IndexControllerFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
             ->disableOriginalConstructor()
11 11
             ->getMockForAbstractClass();
12 12
         $container = $this->getMockBuilder(\Interop\Container\ContainerInterface::class)
13
-            ->setMethods(['get'])
13
+            ->setMethods([ 'get' ])
14 14
             ->getMockForAbstractClass();
15 15
         $container->expects(static::at(0))
16 16
             ->method('get')
Please login to merge, or discard this patch.
packages/Menu/tests/Factory/FilterFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
             ->disableOriginalConstructor()
11 11
             ->getMockForAbstractClass();
12 12
         $container = $this->getMockBuilder(\Interop\Container\ContainerInterface::class)
13
-            ->setMethods(['get'])
13
+            ->setMethods([ 'get' ])
14 14
             ->getMockForAbstractClass();
15 15
         $container->expects(static::at(0))
16 16
             ->method('get')
Please login to merge, or discard this patch.
packages/Menu/tests/Factory/Service/MenuServiceFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
             ->disableOriginalConstructor()
11 11
             ->getMockForAbstractClass();
12 12
         $container = $this->getMockBuilder(\Interop\Container\ContainerInterface::class)
13
-            ->setMethods(['get'])
13
+            ->setMethods([ 'get' ])
14 14
             ->getMockForAbstractClass();
15 15
         $container->expects(static::at(0))
16 16
             ->method('get')
Please login to merge, or discard this patch.
packages/Menu/tests/Factory/MapperFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
             ->disableOriginalConstructor()
11 11
             ->getMockForAbstractClass();
12 12
         $container = $this->getMockBuilder(\Interop\Container\ContainerInterface::class)
13
-            ->setMethods(['get'])
13
+            ->setMethods([ 'get' ])
14 14
             ->getMockForAbstractClass();
15 15
         $container->expects(static::at(0))
16 16
             ->method('get')
Please login to merge, or discard this patch.
packages/Std/src/AbstractController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Std;
4 4
 
5 5
 use Psr\Http\Message\ResponseInterface as Response;
Please login to merge, or discard this patch.
packages/Std/src/FilterException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Std;
4 4
 
5 5
 class FilterException extends \Exception
Please login to merge, or discard this patch.