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 (#4152)
by Cristian
14:22
created
src/app/Library/CrudPanel/CrudFilter.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
     public function __construct($options, $values, $logic, $fallbackLogic)
26 26
     {
27
-        if (! backpack_pro()) {
27
+        if (!backpack_pro()) {
28 28
             abort(500, 'Backpack filters are a PRO feature. Please purchase and install <a href="https://backpackforlaravel.com/pricing">Backpack\PRO</a>.');
29 29
         }
30 30
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     public function wasNotApplied()
90 90
     {
91
-        return ! $this->applied;
91
+        return !$this->applied;
92 92
     }
93 93
 
94 94
     /**
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 
110 110
         $input = $input ?? new ParameterBag($this->crud()->getRequest()->all());
111 111
 
112
-        if (! $input->has($this->name)) {
112
+        if (!$input->has($this->name)) {
113 113
             // if fallback logic was supplied and is a closure
114 114
             if (is_callable($this->fallbackLogic)) {
115 115
                 return ($this->fallbackLogic)();
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     {
147 147
         $type = $this->type;
148 148
 
149
-        return array_map(function ($item) use ($type) {
149
+        return array_map(function($item) use ($type) {
150 150
             return $item.'.'.$type;
151 151
         }, config('backpack.crud.view_namespaces.filters'));
152 152
     }
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
      */
309 309
     public function values($value)
310 310
     {
311
-        $this->values = (! is_string($value) && is_callable($value)) ? $value() : $value;
311
+        $this->values = (!is_string($value) && is_callable($value)) ? $value() : $value;
312 312
 
313 313
         return $this->save();
314 314
     }
Please login to merge, or discard this patch.
src/app/Library/CrudPanel/Traits/Read.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function getEntry($id)
57 57
     {
58
-        if (! $this->entry) {
58
+        if (!$this->entry) {
59 59
             $this->entry = $this->model->findOrFail($id);
60 60
             $this->entry = $this->entry->withFakes();
61 61
         }
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      */
129 129
     public function enableDetailsRow()
130 130
     {
131
-        if (! backpack_pro()) {
131
+        if (!backpack_pro()) {
132 132
             abort(500, 'Details row is a PRO feature. Please purchase and install <a href="https://backpackforlaravel.com/pricing">Backpack\PRO</a>.');
133 133
         }
134 134
 
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
                 // we will apply the same labels as the values to the menu if developer didn't
228 228
                 $this->abortIfInvalidPageLength($menu[0]);
229 229
 
230
-                if (! isset($menu[1]) || ! is_array($menu[1])) {
230
+                if (!isset($menu[1]) || !is_array($menu[1])) {
231 231
                     $menu[1] = $menu[0];
232 232
                 }
233 233
             } else {
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
      */
316 316
     public function enableExportButtons()
317 317
     {
318
-        if (! backpack_pro()) {
318
+        if (!backpack_pro()) {
319 319
             abort(500, 'Export buttons are a PRO feature. Please purchase and install <a href="https://backpackforlaravel.com/pricing">Backpack\PRO</a>.');
320 320
         }
321 321
 
Please login to merge, or discard this patch.
tests/Unit/CrudPanel/CrudPanelReadTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
 
277 277
     public function testEnableDetailsRow()
278 278
     {
279
-        if (! backpack_pro()) {
279
+        if (!backpack_pro()) {
280 280
             $this->expectException(\Symfony\Component\HttpKernel\Exception\HttpException::class);
281 281
         }
282 282
 
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
 
312 312
     public function testEnableExportButtons()
313 313
     {
314
-        if (! backpack_pro()) {
314
+        if (!backpack_pro()) {
315 315
             $this->expectException(\Symfony\Component\HttpKernel\Exception\HttpException::class);
316 316
         }
317 317
 
Please login to merge, or discard this patch.