Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Test Setup Failed
Pull Request — master (#3332)
by
unknown
15:52
created
src/app/Library/CrudPanel/CrudFilter.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -389,10 +389,12 @@
 block discarded – undo
389 389
         return $this->fallbackLogic($value);
390 390
     }
391 391
 
392
-    public function else($value)
392
+    public function else {
393
+        ($value)
393 394
     {
394 395
         return $this->fallbackLogic($value);
395 396
     }
397
+    }
396 398
 
397 399
     // ---------------
398 400
     // PRIVATE METHODS
Please login to merge, or discard this patch.
src/app/Library/CrudPanel/Traits/Read.php 1 patch
Braces   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     {
187 187
         if($value !== 0) {
188 188
             $this->setOperationSetting('defaultPageLength', $value);
189
-        }else{
189
+        } else{
190 190
             abort(500, 'You should not use 0 as a key in paginator. If you are looking for "ALL" option, use -1 instead.');
191 191
         }
192 192
     }
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
             if ($position !== false) {
218 218
                 array_unshift($values, $this->getDefaultPageLength());
219 219
                 array_unshift($labels, $labels[$position]);
220
-            }else{
220
+            } else{
221 221
                 // if it's not in array we add it as the first element
222 222
                 array_unshift($values, $this->getDefaultPageLength());
223 223
                 array_unshift($labels, $this->getDefaultPageLength());
@@ -248,18 +248,18 @@  discard block
 block discarded – undo
248 248
                     if (! isset($menu[1]) || ! is_array($menu[1])) {
249 249
                         $menu[1] = $menu[0];
250 250
                     }
251
-                }else{
251
+                } else{
252 252
                     abort(500, 'You should not use 0 as a key in paginator. If you are looking for "ALL" option, use -1 instead.');
253 253
                 }
254
-            }else{
254
+            } else{
255 255
                 // developer defined setPageLengthMenu([10 => 'f', 100 => 'h', 300 => 't']) OR setPageLengthMenu([50, 100, 300])
256 256
                 $menu = $this->buildPageLengthMenuFromArray($menu);
257 257
             }
258
-        }else{
258
+        } else{
259 259
             // developer added only a single value setPageLengthMenu(10)
260 260
             if($menu !== 0) {
261 261
                 $menu = [[$menu], [$menu]];
262
-            }else{
262
+            } else{
263 263
                 abort(500, 'You should not use 0 as a key in paginator. If you are looking for "ALL" option, use -1 instead.');
264 264
             }
265 265
         }
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
 
290 290
             abort(500, 'You should not use 0 as a key in paginator. If you are looking for "ALL" option, use -1 instead.');
291 291
 
292
-        }else{
292
+        } else{
293 293
             // developer defined length as setPageLengthMenu([50, 100, 300])
294 294
             // we will use the same values as labels
295 295
             if(!in_array(0, $menu)) {
Please login to merge, or discard this patch.