Completed
Push — master ( c02786...6bc0aa )
by Gorka
02:50
created
src/Widgets/Areas/WidgetArea.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      */
25 25
     public function __construct()
26 26
     {
27
-        add_action('widgets_init', [$this, 'widgetArea']);
27
+        add_action('widgets_init', [ $this, 'widgetArea' ]);
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/Widgets/Widget.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
      */
28 28
     public function __construct($id, $name, $description)
29 29
     {
30
-        parent::__construct($id, $name, ['description' => $description]);
30
+        parent::__construct($id, $name, [ 'description' => $description ]);
31 31
 
32
-        add_action('widgets_init', [$this, 'register']);
32
+        add_action('widgets_init', [ $this, 'register' ]);
33 33
     }
34 34
 
35 35
     /**
Please login to merge, or discard this patch.
spec/fixtures/PageFields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,6 +30,6 @@
 block discarded – undo
30 30
      */
31 31
     public function components()
32 32
     {
33
-        return [];
33
+        return [ ];
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
src/Configuration/Acf/Wysiwyg.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function __construct($toolbars)
28 28
     {
29 29
         $this->toolbars = $toolbars;
30
-        add_filter('acf/fields/wysiwyg/toolbars', [$this, 'toolbars']);
30
+        add_filter('acf/fields/wysiwyg/toolbars', [ $this, 'toolbars' ]);
31 31
     }
32 32
 
33 33
     /**
Please login to merge, or discard this patch.
src/Configuration/Theme/Theme.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
         $this->acf();
30 30
         $this->classes();
31 31
         add_theme_support('post-thumbnails');
32
-        add_filter('timber_context', [$this, 'context']);
33
-        add_filter('template_selector_available', [$this, 'templates']);
32
+        add_filter('timber_context', [ $this, 'context' ]);
33
+        add_filter('template_selector_available', [ $this, 'templates' ]);
34 34
     }
35 35
 
36 36
     /**
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     protected function acf()
40 40
     {
41 41
         new Wysiwyg([
42
-            'lin3s' => [1 => ['bold', 'italic', 'bullist', 'numlist', 'link', 'unlink']]
42
+            'lin3s' => [ 1 => [ 'bold', 'italic', 'bullist', 'numlist', 'link', 'unlink' ] ]
43 43
         ]);
44 44
     }
45 45
 }
Please login to merge, or discard this patch.
spec/Configuration/Acf/WysiwygSpec.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 {
24 24
     function let()
25 25
     {
26
-        $this->beConstructedWith([]);
26
+        $this->beConstructedWith([ ]);
27 27
     }
28 28
 
29 29
     function it_is_initializable()
@@ -33,6 +33,6 @@  discard block
 block discarded – undo
33 33
     
34 34
     function its_toolbars()
35 35
     {
36
-        $this->toolbars([])->shouldBeArray();
36
+        $this->toolbars([ ])->shouldBeArray();
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
spec/fixtures/CustomPostTypeFields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,6 +30,6 @@
 block discarded – undo
30 30
      */
31 31
     public function components()
32 32
     {
33
-        return [];
33
+        return [ ];
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
spec/fixtures/Fields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,6 +30,6 @@
 block discarded – undo
30 30
      */
31 31
     public function components()
32 32
     {
33
-        return [];
33
+        return [ ];
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
src/PostTypes/Fields/CustomPostTypeFields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $this->fields();
28 28
         $this->connector();
29 29
 
30
-        add_action('admin_init', [$this, 'removeScreenAttributes']);
30
+        add_action('admin_init', [ $this, 'removeScreenAttributes' ]);
31 31
     }
32 32
 
33 33
     /**
Please login to merge, or discard this patch.