Passed
Push — 2.x ( f0bfd9...ba8268 )
by Terry
01:56
created
templates/frontend/login.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 				<div class="card-body">
120 120
                     <form action="<?php echo $form ?>" method="post" autocomplete="off">
121 121
                         <div class="main-content">
122
-                            <?php if (! empty($error)) : ?>
122
+                            <?php if (!empty($error)) : ?>
123 123
                             <div class="error-notice">
124 124
                                 <?php echo $error; ?>
125 125
                             </div>
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
                             <div class="input-box">
131 131
                                 <input type="password" name="s_pass" placeholder="Password" class="form-input" />
132 132
                             </div>
133
-                            <?php if (! empty($captchas)) : ?>
133
+                            <?php if (!empty($captchas)) : ?>
134 134
                             <div class="input-box">
135 135
                                 <?php foreach ($captchas as $captcha) : ?>
136 136
                                     <?php echo $captcha->form(); ?>
Please login to merge, or discard this patch.
src/Firewall/Kernel/SessionTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
  */
23 23
 trait SessionTrait
24 24
 {
25
-   /**
25
+    /**
26 26
      * Are you willing to limit the online session amount?
27 27
      *
28 28
      * @var array
Please login to merge, or discard this patch.
src/Firewall/Kernel.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
      * 
209 209
      * @return void
210 210
      */
211
-    public function __construct(?ServerRequestInterface $request  = null, ?ResponseInterface $response = null)
211
+    public function __construct(?ServerRequestInterface $request = null, ?ResponseInterface $response = null)
212 212
     {
213 213
         // Load helper functions. This is the must.
214 214
         new Helpers();
@@ -658,9 +658,9 @@  discard block
 block discarded – undo
658 658
         $this->initComponents();
659 659
 
660 660
         $processMethods = [
661
-            'isRuleExist',   // Stage 1. - Looking for rule table.
662
-            'isTrustedBot',  // Stage 2 - Detect popular search engine.
663
-            'isFakeRobot',   // Stage 3 - Reject fake search engine crawlers.
661
+            'isRuleExist', // Stage 1. - Looking for rule table.
662
+            'isTrustedBot', // Stage 2 - Detect popular search engine.
663
+            'isFakeRobot', // Stage 3 - Reject fake search engine crawlers.
664 664
             'isIpComponent', // Stage 4 - IP manager.
665 665
             'isComponents'    // Stage 5 - Check other components.
666 666
         ];
Please login to merge, or discard this patch.