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 ( e7b4c4...df5f8a )
by Cristian
19s queued 13s
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
     /*
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
     public function uploadMultipleFilesToDisk($value, $attribute_name, $disk, $destination_path)
228 228
     {
229 229
         $request = \Request::instance();
230
-        if (! is_array($this->{$attribute_name})) {
230
+        if (!is_array($this->{$attribute_name})) {
231 231
             $attribute_value = json_decode($this->{$attribute_name}, true) ?? [];
232 232
         } else {
233 233
             $attribute_value = $this->{$attribute_name};
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
         if ($files_to_clear) {
240 240
             foreach ($files_to_clear as $key => $filename) {
241 241
                 \Storage::disk($disk)->delete($filename);
242
-                $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) {
242
+                $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) {
243 243
                     return $value != $filename;
244 244
                 });
245 245
             }
Please login to merge, or discard this patch.