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 ( c623c5...16bfca )
by Cristian
07:28
created
src/CrudTrait.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $conn->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('json', 'json_array');
60 60
         $conn->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('jsonb', 'json_array');
61 61
 
62
-        return ! $conn->getDoctrineColumn($table, $column_name)->getNotnull();
62
+        return !$conn->getDoctrineColumn($table, $column_name)->getNotnull();
63 63
     }
64 64
 
65 65
     /*
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
             $column_contents = $this->attributes[$column];
84 84
 
85
-            if (! is_object($column_contents)) {
85
+            if (!is_object($column_contents)) {
86 86
                 $column_contents = json_decode($column_contents);
87 87
             }
88 88
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     {
106 106
         $model = '\\'.get_class($this);
107 107
 
108
-        if (! count($columns)) {
108
+        if (!count($columns)) {
109 109
             $columns = (property_exists($model, 'fakeColumns')) ? $this->fakeColumns : ['extras'];
110 110
         }
111 111
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     public function shouldEncodeFake($column)
124 124
     {
125
-        return ! in_array($column, array_keys($this->casts));
125
+        return !in_array($column, array_keys($this->casts));
126 126
     }
127 127
 
128 128
     /*
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
             $attribute_value = (array) $this->{$attribute_name};
206 206
             foreach ($files_to_clear as $key => $filename) {
207 207
                 \Storage::disk($disk)->delete($filename);
208
-                $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) {
208
+                $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) {
209 209
                     return $value != $filename;
210 210
                 });
211 211
             }
Please login to merge, or discard this patch.