Passed
Push — master ( 298035...f88e8a )
by Vince
06:31
created
tests/AuthTest.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
             ->decode()
53 53
         ;
54 54
 
55
-        $this->assertEquals(true, (is_array($decoded)&&!empty($decoded)) );
55
+        $this->assertEquals(true, (is_array($decoded) && !empty($decoded)));
56 56
     }
57 57
 
58 58
     /**
Please login to merge, or discard this patch.
src/core/throttle/limiter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
             $this->setUnlimited();
121 121
         }
122 122
 
123
-        if( isset($this->account->scope) &&
123
+        if (isset($this->account->scope) &&
124 124
             ($this->account->scope == 'anonymous' || $this->account->scope == 'public')
125 125
         ) {
126 126
            $this->scope = $this->account->scope;
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
      */
269 269
     public function getAccount()
270 270
     {
271
-        if(is_null($this->account)) {
271
+        if (is_null($this->account)) {
272 272
             (new exception\errorException)
273 273
                 ->setOptions($this->getOptions())
274 274
                 ->error('UNAUTHORIZED');
Please login to merge, or discard this patch.
src/core/exception/errorException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
                 'MESSAGE' => $message,
171 171
             ), JSON_PRETTY_PRINT);
172 172
 
173
-            if( isset($options['errors']) && $options['errors'] == 'catchAll' ) {
173
+            if (isset($options['errors']) && $options['errors'] == 'catchAll') {
174 174
                 throw new self($eMessage, 1);
175 175
             }
176 176
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
                 'MESSAGE' => $message,
186 186
             ), JSON_PRETTY_PRINT);
187 187
 
188
-            if( isset($options['errors']) && $options['errors'] == 'catchAll' ) {
188
+            if (isset($options['errors']) && $options['errors'] == 'catchAll') {
189 189
                 throw new self($eMessage, 1);
190 190
             }
191 191
 
Please login to merge, or discard this patch.