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 Failed
Pull Request — master (#3410)
by Cristian
25:46 queued 10:50
created
src/app/Library/CrudPanel/Traits/Update.php 1 patch
Switch Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -184,15 +184,15 @@
 block discarded – undo
184 184
                         $item[$related_model->getKeyName()] = $related_model->getKey();
185 185
                         $return[] = $item;
186 186
             break;
187
-            case BelongsToMany::class:
188
-            case MorphToMany::class:
187
+                case BelongsToMany::class:
188
+                case MorphToMany::class:
189 189
 
190
-                    $item[$field['name']] = $related_model->getKey();
191
-                    //for any given related model, we get the pivot fields.
192
-                    foreach ($pivot_fields as $pivot_field) {
193
-                        $item[$pivot_field['name']] = $related_model->pivot->{$pivot_field['name']};
194
-                    }
195
-                    $return[] = $item;
190
+                        $item[$field['name']] = $related_model->getKey();
191
+                        //for any given related model, we get the pivot fields.
192
+                        foreach ($pivot_fields as $pivot_field) {
193
+                            $item[$pivot_field['name']] = $related_model->pivot->{$pivot_field['name']};
194
+                        }
195
+                        $return[] = $item;
196 196
             }
197 197
         }
198 198
         // we return the json encoded result as expected by repeatable field.
Please login to merge, or discard this patch.
src/app/Library/CrudPanel/Traits/Create.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -375,7 +375,7 @@
 block discarded – undo
375 375
         if ($relation_values !== null && $relationData['values'][$relationMethod][0] !== null) {
376 376
             // we add the new values into the relation
377 377
             $model_instance->whereIn($model_instance->getKeyName(), $relation_values)
378
-           ->update([$relation_foreign_key => $item->{$relation_local_key}]);
378
+            ->update([$relation_foreign_key => $item->{$relation_local_key}]);
379 379
 
380 380
             // we clear up any values that were removed from model relation.
381 381
             // if developer provided a fallback id, we use it
Please login to merge, or discard this patch.