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

Completed
Pull Request — master (#1935)
by Cristian
04:14 queued 02:00
created
src/app/Http/Controllers/Operations/ReorderOperation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $this->crud->set('reorder.enabled', true);
37 37
         $this->crud->allowAccess('reorder');
38 38
 
39
-        $this->crud->operation('list', function () {
39
+        $this->crud->operation('list', function() {
40 40
             $this->crud->addButton('top', 'reorder', 'view', 'crud::buttons.reorder');
41 41
         });
42 42
     }
Please login to merge, or discard this patch.
src/app/Http/Controllers/Operations/ListOperation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
         // if there was an order set, this will be the last one (after all others were applied)
111 111
         $orderBy = $this->crud->query->getQuery()->orders;
112 112
         $hasOrderByPrimaryKey = false;
113
-        collect($orderBy)->each(function ($item, $key) use ($hasOrderByPrimaryKey) {
113
+        collect($orderBy)->each(function($item, $key) use ($hasOrderByPrimaryKey) {
114 114
             if ($item['column'] == $this->crud->model->getKeyName()) {
115 115
                 $hasOrderByPrimaryKey = true;
116 116
 
Please login to merge, or discard this patch.
src/app/Models/Traits/CrudTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
         if ($files_to_clear) {
234 234
             foreach ($files_to_clear as $key => $filename) {
235 235
                 \Storage::disk($disk)->delete($filename);
236
-                $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) {
236
+                $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) {
237 237
                     return $value != $filename;
238 238
                 });
239 239
             }
Please login to merge, or discard this patch.
src/app/Models/Traits/InheritsRelationsFromParentModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@
 block discarded – undo
18 18
 
19 19
     public static function bootHasParent()
20 20
     {
21
-        static::creating(function ($model) {
21
+        static::creating(function($model) {
22 22
             if ($model->parentHasHasChildrenTrait()) {
23 23
                 $model->forceFill(
24 24
                     [$model->getInheritanceColumn() => $model->classToAlias(get_class($model))]
25 25
                 );
26 26
             }
27 27
         });
28
-        static::addGlobalScope(function ($query) {
28
+        static::addGlobalScope(function($query) {
29 29
             $instance = new static();
30 30
             if ($instance->parentHasHasChildrenTrait()) {
31 31
                 $query->where($instance->getTable().'.'.$instance->getInheritanceColumn(), $instance->classToAlias(get_class($instance)));
Please login to merge, or discard this patch.