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 (#2308)
by Cristian
16:20 queued 05:07
created
src/app/Models/Traits/HasIdentifiableAttribute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         // we get the first column from database
63 63
         // that is NOT indexed (usually primary, foreign keys)
64 64
         foreach ($columns as $columnName => $columnProperties) {
65
-            if (! in_array($columnName, $indexedColumns)) {
65
+            if (!in_array($columnName, $indexedColumns)) {
66 66
 
67 67
                 //check for convention "field<_id>" in case developer didn't add foreign key constraints.
68 68
                 if (strpos($columnName, '_id') !== false) {
Please login to merge, or discard this patch.
src/app/Http/Controllers/Operations/FetchOperation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
         // otherwise assume the arguments are actually the configuration array
46 46
         $config = [];
47 47
 
48
-        if (! is_array($arg)) {
49
-            if (! class_exists($arg)) {
48
+        if (!is_array($arg)) {
49
+            if (!class_exists($arg)) {
50 50
                 return response()->json(['error' => 'Class: '.$arg.' does not exists'], 500);
51 51
             }
52 52
             $config['model'] = $arg;
Please login to merge, or discard this patch.
src/app/Models/Traits/CrudTrait.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
             // check for NOT NULL
127 127
             $notNull = $column->getNotnull();
128 128
             // return the value of nullable (aka the inverse of NOT NULL)
129
-            return ! $notNull;
129
+            return !$notNull;
130 130
         } catch (\Exception $e) {
131 131
             return true;
132 132
         }
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     public function addFakes($columns = ['extras'])
147 147
     {
148 148
         foreach ($columns as $key => $column) {
149
-            if (! isset($this->attributes[$column])) {
149
+            if (!isset($this->attributes[$column])) {
150 150
                 continue;
151 151
             }
152 152
 
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      */
196 196
     public function shouldDecodeFake($column)
197 197
     {
198
-        return ! in_array($column, array_keys($this->casts));
198
+        return !in_array($column, array_keys($this->casts));
199 199
     }
200 200
 
201 201
     /**
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
      */
208 208
     public function shouldEncodeFake($column)
209 209
     {
210
-        return ! in_array($column, array_keys($this->casts));
210
+        return !in_array($column, array_keys($this->casts));
211 211
     }
212 212
 
213 213
     /*
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
     public function uploadMultipleFilesToDisk($value, $attribute_name, $disk, $destination_path)
282 282
     {
283 283
         $request = \Request::instance();
284
-        if (! is_array($this->{$attribute_name})) {
284
+        if (!is_array($this->{$attribute_name})) {
285 285
             $attribute_value = json_decode($this->{$attribute_name}, true) ?? [];
286 286
         } else {
287 287
             $attribute_value = $this->{$attribute_name};
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
         if ($files_to_clear) {
294 294
             foreach ($files_to_clear as $key => $filename) {
295 295
                 \Storage::disk($disk)->delete($filename);
296
-                $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) {
296
+                $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) {
297 297
                     return $value != $filename;
298 298
                 });
299 299
             }
Please login to merge, or discard this patch.