Completed
Push — master ( 88b7e8...d57605 )
by Aleksandar
26:29
created
packages/Category/src/View/Helper/CategoryHelper.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
 
4 4
 namespace Category\View\Helper;
5 5
 
Please login to merge, or discard this patch.
data/phinx/migrations/20161003183353_articles.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -6,21 +6,21 @@
 block discarded – undo
6 6
 {
7 7
     public function up()
8 8
     {
9
-        $this->table('articles', ['id' => false, 'primary_key' => 'article_uuid'])
10
-            ->addColumn('article_uuid', 'binary', ['limit' => 16])
9
+        $this->table('articles', [ 'id' => false, 'primary_key' => 'article_uuid' ])
10
+            ->addColumn('article_uuid', 'binary', [ 'limit' => 16 ])
11 11
             ->addColumn('article_id', 'text')
12
-            ->addColumn('slug', 'text', ['null' => true])
13
-            ->addColumn('created_at', 'datetime', ['default' => 'CURRENT_TIMESTAMP'])
14
-            ->addColumn('published_at', 'datetime', ['default' => 'CURRENT_TIMESTAMP'])
12
+            ->addColumn('slug', 'text', [ 'null' => true ])
13
+            ->addColumn('created_at', 'datetime', [ 'default' => 'CURRENT_TIMESTAMP' ])
14
+            ->addColumn('published_at', 'datetime', [ 'default' => 'CURRENT_TIMESTAMP' ])
15 15
             ->addColumn('type', 'integer')      // see Article\Entity\ArticleType
16 16
             ->addColumn('status', 'integer')    // active, not active, ...
17
-            ->addColumn('admin_user_uuid', 'binary', ['limit' => 16])
18
-            ->addColumn('is_wysiwyg_editor', 'boolean', ['default' => false])
19
-            ->addColumn('category_uuid', 'binary', ['limit' => 16])
20
-            ->addForeignKey('category_uuid', 'category', 'category_uuid', ['delete' => 'NO_ACTION', 'update' => 'NO_ACTION'])
21
-            ->addForeignKey('admin_user_uuid', 'admin_users', 'admin_user_uuid', ['delete' => 'NO_ACTION', 'update' => 'NO_ACTION'])
22
-            ->addIndex('type', ['name' => 'type_INDEX'])
23
-            ->addIndex('published_at', ['name' => 'published_at_INDEX'])
17
+            ->addColumn('admin_user_uuid', 'binary', [ 'limit' => 16 ])
18
+            ->addColumn('is_wysiwyg_editor', 'boolean', [ 'default' => false ])
19
+            ->addColumn('category_uuid', 'binary', [ 'limit' => 16 ])
20
+            ->addForeignKey('category_uuid', 'category', 'category_uuid', [ 'delete' => 'NO_ACTION', 'update' => 'NO_ACTION' ])
21
+            ->addForeignKey('admin_user_uuid', 'admin_users', 'admin_user_uuid', [ 'delete' => 'NO_ACTION', 'update' => 'NO_ACTION' ])
22
+            ->addIndex('type', [ 'name' => 'type_INDEX' ])
23
+            ->addIndex('published_at', [ 'name' => 'published_at_INDEX' ])
24 24
             ->create();
25 25
     }
26 26
 
Please login to merge, or discard this patch.
data/phinx/migrations/20161003183350_category.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,17 +9,17 @@
 block discarded – undo
9 9
 
10 10
     public function up()
11 11
     {
12
-        $this->table('category', ['id' => false, 'primary_key' => 'category_uuid'])
13
-            ->addColumn('category_uuid', 'binary', ['limit' => 16])
12
+        $this->table('category', [ 'id' => false, 'primary_key' => 'category_uuid' ])
13
+            ->addColumn('category_uuid', 'binary', [ 'limit' => 16 ])
14 14
             ->addColumn('category_id', 'text')
15 15
             ->addColumn('name', 'text')
16 16
             ->addColumn('slug', 'text')
17 17
             ->addColumn('type', 'integer')  // see Article\Entity\ArticleType
18
-            ->addColumn('title', 'text', ['null' => true])
19
-            ->addColumn('description', 'text', ['null' => true])
20
-            ->addColumn('main_img', 'text', ['null' => true])
21
-            ->addColumn('is_in_homepage', 'boolean', ['default' => false])
22
-            ->addColumn('is_in_category_list', 'boolean', ['default' => true])
18
+            ->addColumn('title', 'text', [ 'null' => true ])
19
+            ->addColumn('description', 'text', [ 'null' => true ])
20
+            ->addColumn('main_img', 'text', [ 'null' => true ])
21
+            ->addColumn('is_in_homepage', 'boolean', [ 'default' => false ])
22
+            ->addColumn('is_in_category_list', 'boolean', [ 'default' => true ])
23 23
             ->create();
24 24
     }
25 25
 
Please login to merge, or discard this patch.