Passed
Push — 2.x ( 92ec38...c080f0 )
by Terry
02:07
created
src/Firewall/Kernel.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
      * 
341 341
      * @return void
342 342
      */
343
-    public function __construct(?ServerRequestInterface $request  = null, ?ResponseInterface $response = null)
343
+    public function __construct(?ServerRequestInterface $request = null, ?ResponseInterface $response = null)
344 344
     {
345 345
         // Load helper functions. This is the must.
346 346
         new Helpers();
@@ -1648,10 +1648,10 @@  discard block
 block discarded – undo
1648 1648
 
1649 1649
         $ui = [
1650 1650
             'background_image' => $this->dialogUI['background_image'] ?? '',
1651
-            'bg_color'         => $this->dialogUI['bg_color']         ?? '#ffffff',
1652
-            'header_bg_color'  => $this->dialogUI['header_bg_color']  ?? '#212531',
1653
-            'header_color'     => $this->dialogUI['header_color']     ?? '#ffffff',
1654
-            'shadow_opacity'   => $this->dialogUI['shadow_opacity']   ?? '0.2',
1651
+            'bg_color'         => $this->dialogUI['bg_color'] ?? '#ffffff',
1652
+            'header_bg_color'  => $this->dialogUI['header_bg_color'] ?? '#212531',
1653
+            'header_color'     => $this->dialogUI['header_color'] ?? '#ffffff',
1654
+            'shadow_opacity'   => $this->dialogUI['shadow_opacity'] ?? '0.2',
1655 1655
         ];
1656 1656
 
1657 1657
         if (!defined('SHIELDON_VIEW')) {
Please login to merge, or discard this patch.
src/Firewall/Panel/Sandbox/Sendgrid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
             $messenger = new Messenger\Sendgrid($apiKey);
54 54
 
55
-            foreach($recipients as $recipient) {
55
+            foreach ($recipients as $recipient) {
56 56
                 if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) {
57 57
                     $messenger->addRecipient($recipient);
58 58
                 }
Please login to merge, or discard this patch.
src/Firewall/Panel/Sandbox/PhpNativeMail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 
52 52
             $messenger = new Messenger\Mail();
53 53
 
54
-            foreach($recipients as $recipient) {
54
+            foreach ($recipients as $recipient) {
55 55
                 if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) {
56 56
                     $messenger->addRecipient($recipient);
57 57
                 }
Please login to merge, or discard this patch.
src/Firewall/Panel/Sandbox/Mailgun.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
             $messenger = new Messenger\Mailgun($apiKey, $domain);
55 55
 
56
-            foreach($recipients as $recipient) {
56
+            foreach ($recipients as $recipient) {
57 57
                 if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) {
58 58
                     $messenger->addRecipient($recipient);
59 59
                 }
Please login to merge, or discard this patch.
src/Firewall/Panel/Sandbox/Smtp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 
77 77
             $messenger = new Messenger\Smtp($user, $pass, $host, (int) $port);
78 78
 
79
-            foreach($recipients as $recipient) {
79
+            foreach ($recipients as $recipient) {
80 80
                 if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) {
81 81
                     $messenger->addRecipient($recipient);
82 82
                 }
Please login to merge, or discard this patch.
src/Firewall/Panel/Ajax.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      *
49 49
      * @return bool
50 50
      */
51
-    public function  __call($function , $args)
51
+    public function  __call($function, $args)
52 52
     {
53 53
         $className = 'Shieldon\Firewall\Panel\Sandbox\\' . $function;
54 54
 
Please login to merge, or discard this patch.