Completed
Push — master ( 9de5ff...fc4463 )
by Beñat
03:57
created
src/PostTypes/RewriteRules/RewriteRules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,6 @@
 block discarded – undo
26 26
     {
27 27
         $this->rewriteRules();
28 28
         $this->rewriteTags();
29
-        add_action('template_include', [$this, 'templateInclude']);
29
+        add_action('template_include', [ $this, 'templateInclude' ]);
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
src/Twig/TagManagerTwig.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
      */
29 29
     public function __construct()
30 30
     {
31
-        add_action('twig_apply_filters', function ($twig) {
32
-            $twig->addFunction(new \Twig_SimpleFunction('tagManager', [$this, 'tagManagerFunction']));
31
+        add_action('twig_apply_filters', function($twig) {
32
+            $twig->addFunction(new \Twig_SimpleFunction('tagManager', [ $this, 'tagManagerFunction' ]));
33 33
 
34 34
             return $twig;
35 35
         });
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,6 +52,6 @@
 block discarded – undo
52 52
 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
53 53
 '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
54 54
 })(window,document,'script','dataLayer','$tagManagerId');</script>
55
-EOT;
55
+eot;
56 56
     }
57 57
 }
Please login to merge, or discard this patch.
src/Twig/TranslationTwig.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
      */
30 30
     public function __construct()
31 31
     {
32
-        add_action('twig_apply_filters', function ($twig) {
33
-            $twig->addFunction(new \Twig_SimpleFunction('trans', function ($key) {
32
+        add_action('twig_apply_filters', function($twig) {
33
+            $twig->addFunction(new \Twig_SimpleFunction('trans', function($key) {
34 34
                 return Translations::trans($key);
35 35
             }));
36 36
 
Please login to merge, or discard this patch.
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/Configuration/Mailer/MailerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace spec\LIN3S\WPFoundation\Configuration\Translations;
13 13
 
14 14
 use LIN3S\WordPressPhpSpecBridge\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 
17 16
 /**
18 17
  * Spec of Translations class.
Please login to merge, or discard this patch.
src/PostTypes/Fields/Fields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 
54 54
         if (isset($postId)) {
55 55
             if ($this->name === get_post_meta($postId, '_wp_page_template', true)) {
56
-                add_action('admin_init', [$this, 'removeScreenAttributes']);
56
+                add_action('admin_init', [ $this, 'removeScreenAttributes' ]);
57 57
             }
58 58
         }
59 59
     }
Please login to merge, or discard this patch.