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
Push — master ( 1b4bf4...06ed48 )
by Cristian
23:07 queued 12:44
created
src/app/Models/Traits/CrudTrait.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             //check if column exists in database
73 73
             $conn->getDoctrineColumn($table, $column_name);
74 74
 
75
-            return ! $conn->getDoctrineColumn($table, $column_name)->getNotnull();
75
+            return !$conn->getDoctrineColumn($table, $column_name)->getNotnull();
76 76
         } catch (\Exception $e) {
77 77
             return true;
78 78
         }
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     public function addFakes($columns = ['extras'])
93 93
     {
94 94
         foreach ($columns as $key => $column) {
95
-            if (! isset($this->attributes[$column])) {
95
+            if (!isset($this->attributes[$column])) {
96 96
                 continue;
97 97
             }
98 98
 
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public function shouldDecodeFake($column)
143 143
     {
144
-        return ! in_array($column, array_keys($this->casts));
144
+        return !in_array($column, array_keys($this->casts));
145 145
     }
146 146
 
147 147
     /**
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      */
154 154
     public function shouldEncodeFake($column)
155 155
     {
156
-        return ! in_array($column, array_keys($this->casts));
156
+        return !in_array($column, array_keys($this->casts));
157 157
     }
158 158
 
159 159
     /*
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
      */
225 225
     public function uploadMultipleFilesToDisk($value, $attribute_name, $disk, $destination_path)
226 226
     {
227
-        if (! is_array($this->{$attribute_name})) {
227
+        if (!is_array($this->{$attribute_name})) {
228 228
             $attribute_value = json_decode($this->{$attribute_name}, true) ?? [];
229 229
         } else {
230 230
             $attribute_value = $this->{$attribute_name};
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
         if ($files_to_clear) {
237 237
             foreach ($files_to_clear as $key => $filename) {
238 238
                 \Storage::disk($disk)->delete($filename);
239
-                $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) {
239
+                $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) {
240 240
                     return $value != $filename;
241 241
                 });
242 242
             }
Please login to merge, or discard this patch.