Completed
Push — master ( 1a7910...41e170 )
by Aleksandar
126:10 queued 78:50
created
data/phinx/migrations/20161229132328_article_posts.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -6,15 +6,15 @@
 block discarded – undo
6 6
 {
7 7
     public function up()
8 8
     {
9
-        $this->table('article_posts', ['id' => false])
10
-            ->addColumn('article_uuid', 'binary', ['limit' => 16])
9
+        $this->table('article_posts', [ 'id' => false ])
10
+            ->addColumn('article_uuid', 'binary', [ 'limit' => 16 ])
11 11
             ->addColumn('title', 'text')
12 12
             ->addColumn('body', 'text')
13 13
             ->addColumn('lead', 'text')
14
-            ->addColumn('featured_img', 'text', ['null' => true])
15
-            ->addColumn('main_img', 'text', ['null' => true])
16
-            ->addColumn('has_layout', 'boolean', ['default' => true])
17
-            ->addForeignKey('article_uuid', 'articles', 'article_uuid', ['delete' => 'NO_ACTION', 'update' => 'NO_ACTION'])
14
+            ->addColumn('featured_img', 'text', [ 'null' => true ])
15
+            ->addColumn('main_img', 'text', [ 'null' => true ])
16
+            ->addColumn('has_layout', 'boolean', [ 'default' => true ])
17
+            ->addForeignKey('article_uuid', 'articles', 'article_uuid', [ 'delete' => 'NO_ACTION', 'update' => 'NO_ACTION' ])
18 18
             ->create();
19 19
     }
20 20
 
Please login to merge, or discard this patch.
packages/Web/Factory/Action/PageActionFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Web\Factory\Action;
6 6
 
Please login to merge, or discard this patch.
packages/Article/tests/Factory/Controller/DiscussionFactoryTest.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/Service/PostServiceFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@
 block discarded – undo
20 20
             ->getMockForAbstractClass();
21 21
 
22 22
         $container = $this->getMockBuilder(\Interop\Container\ContainerInterface::class)
23
-            ->setMethods(['get'])
23
+            ->setMethods([ 'get' ])
24 24
             ->getMockForAbstractClass();
25 25
         $container->expects(static::at(0))
26 26
             ->method('get')
27
-            ->will(static::returnValue(['upload' => ['public_path' => 'test', 'non_public_path' => 'test']]));
27
+            ->will(static::returnValue([ 'upload' => [ 'public_path' => 'test', 'non_public_path' => 'test' ] ]));
28 28
         $container->expects(static::at(1))
29 29
             ->method('get')
30 30
             ->will(static::returnValue($articleMapper));
Please login to merge, or discard this patch.
packages/Article/tests/Factory/Service/DiscussionServiceFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             ->getMockForAbstractClass();
21 21
 
22 22
         $container = $this->getMockBuilder(\Interop\Container\ContainerInterface::class)
23
-            ->setMethods(['get'])
23
+            ->setMethods([ 'get' ])
24 24
             ->getMockForAbstractClass();
25 25
         $container->expects(static::at(0))
26 26
             ->method('get')
Please login to merge, or discard this patch.
packages/Article/tests/Factory/View/Helper/PostHelperFactoryTest.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/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/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.