Completed
Pull Request — master (#106)
by
unknown
22:56 queued 05:30
created
packages/Admin/tests/View/Helper/AdminUserHelperTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@
 block discarded – undo
32 32
     {
33 33
         $session = new \Zend\Session\SessionManager();
34 34
         $adminUserService = $this->getMockBuilder('Core\Service\AdminUserService')
35
-            ->setMethods(['getAll'])
35
+            ->setMethods([ 'getAll' ])
36 36
             ->disableOriginalConstructor()
37 37
             ->getMockForAbstractClass();
38 38
         $adminUserService->expects(static::once())
39 39
             ->method('getAll')
40
-            ->willReturn([]);
40
+            ->willReturn([ ]);
41 41
         $adminUserHelper = new \Admin\View\Helper\AdminUserHelper($session, $adminUserService);
42
-        static::assertSame([], $adminUserHelper->all());
42
+        static::assertSame([ ], $adminUserHelper->all());
43 43
     }
44 44
 }
45 45
\ No newline at end of file
Please login to merge, or discard this patch.
packages/Admin/tests/View/Helper/WebAdminUserHelperTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
     public function testGetRandomShouldReturnArray()
17 17
     {
18 18
         $adminUserService = $this->getMockBuilder('Core\Service\AdminUserService')
19
-            ->setMethods(['getForWeb'])
19
+            ->setMethods([ 'getForWeb' ])
20 20
             ->disableOriginalConstructor()
21 21
             ->getMockForAbstractClass();
22 22
         $adminUserService->expects(static::once())
23 23
             ->method('getForWeb')
24
-            ->willReturn([]);
24
+            ->willReturn([ ]);
25 25
         $adminUserHelper = new \Admin\View\Helper\WebAdminUserHelper($adminUserService);
26
-        static::assertSame([], $adminUserHelper->getRandom());
26
+        static::assertSame([ ], $adminUserHelper->getRandom());
27 27
     }
28 28
 }
29 29
\ No newline at end of file
Please login to merge, or discard this patch.
packages/Admin/tests/Factory/Action/IndexFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
         $template = $this->getMockBuilder('Zend\Expressive\Template\TemplateRendererInterface')
10 10
             ->getMockForAbstractClass();
11 11
         $container = $this->getMockBuilder('Interop\Container\ContainerInterface')
12
-            ->setMethods(['get'])
12
+            ->setMethods([ 'get' ])
13 13
             ->getMockForAbstractClass();
14 14
         $container->expects(static::once())
15 15
             ->method('get')
Please login to merge, or discard this patch.
packages/Admin/tests/Factory/Controller/AuthFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
             ->disableOriginalConstructor()
16 16
             ->getMockForAbstractClass();
17 17
         $container = $this->getMockBuilder('Interop\Container\ContainerInterface')
18
-            ->setMethods(['get'])
18
+            ->setMethods([ 'get' ])
19 19
             ->getMockForAbstractClass();
20 20
         $container->expects(static::at(0))
21 21
             ->method('get')
Please login to merge, or discard this patch.
packages/Admin/tests/Factory/Controller/UserFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
             ->getMockForAbstractClass();
13 13
         $adminUserService = $this->getMockBuilder('Core\Service\AdminUserService')
14 14
             ->disableOriginalConstructor()
15
-            ->setMethods(['loginUser'])
15
+            ->setMethods([ 'loginUser' ])
16 16
             ->getMockForAbstractClass();
17 17
         $session = new \Zend\Session\SessionManager();
18 18
         $container = $this->getMockBuilder(\Interop\Container\ContainerInterface::class)
19
-            ->setMethods(['get'])
19
+            ->setMethods([ 'get' ])
20 20
             ->getMockForAbstractClass();
21 21
         $container->expects(static::at(0))
22 22
             ->method('get')
Please login to merge, or discard this patch.
packages/Admin/tests/Factory/View/Helper/WebAdminUserHelperFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
             ->disableOriginalConstructor()
16 16
             ->getMockForAbstractClass();
17 17
         $container = $this->getMockBuilder('Interop\Container\ContainerInterface')
18
-            ->setMethods(['get'])
18
+            ->setMethods([ 'get' ])
19 19
             ->getMockForAbstractClass();
20 20
         $container->expects(static::at(0))
21 21
             ->method('get')
Please login to merge, or discard this patch.
packages/Admin/tests/Factory/View/Helper/AdminUserHelperFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
             ->disableOriginalConstructor()
16 16
             ->getMockForAbstractClass();
17 17
         $container = $this->getMockBuilder('Interop\Container\ContainerInterface')
18
-            ->setMethods(['get'])
18
+            ->setMethods([ 'get' ])
19 19
             ->getMockForAbstractClass();
20 20
         $container->expects(static::at(0))
21 21
             ->method('get')
Please login to merge, or discard this patch.
packages/Article/tests/Factory/Controller/PostFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
             ->getMockForAbstractClass();
19 19
         $session = new \Zend\Session\SessionManager();
20 20
         $container = $this->getMockBuilder(\Interop\Container\ContainerInterface::class)
21
-            ->setMethods(['get'])
21
+            ->setMethods([ 'get' ])
22 22
             ->getMockForAbstractClass();
23 23
         $container->expects(static::at(0))
24 24
             ->method('get')
Please login to merge, or discard this patch.
packages/Article/tests/Factory/Controller/EventFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
             ->getMockForAbstractClass();
19 19
         $session = new \Zend\Session\SessionManager();
20 20
         $container = $this->getMockBuilder(\Interop\Container\ContainerInterface::class)
21
-            ->setMethods(['get'])
21
+            ->setMethods([ 'get' ])
22 22
             ->getMockForAbstractClass();
23 23
         $container->expects(static::at(0))
24 24
             ->method('get')
Please login to merge, or discard this patch.