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 (#1549)
by Cristian
03:42
created
src/CrudTrait.php 1 patch
Spacing   +6 added lines, -6 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
     /*
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     public function addFakes($columns = ['extras'])
77 77
     {
78 78
         foreach ($columns as $key => $column) {
79
-            if (! isset($this->attributes[$column])) {
79
+            if (!isset($this->attributes[$column])) {
80 80
                 continue;
81 81
             }
82 82
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
                 $column_contents = $this->attributes[$column];
87 87
             }
88 88
 
89
-            if (! is_object($column_contents)) {
89
+            if (!is_object($column_contents)) {
90 90
                 $column_contents = json_decode($column_contents);
91 91
             }
92 92
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     {
110 110
         $model = '\\'.get_class($this);
111 111
 
112
-        if (! count($columns)) {
112
+        if (!count($columns)) {
113 113
             $columns = (property_exists($model, 'fakeColumns')) ? $this->fakeColumns : ['extras'];
114 114
         }
115 115
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      */
127 127
     public function shouldEncodeFake($column)
128 128
     {
129
-        return ! in_array($column, array_keys($this->casts));
129
+        return !in_array($column, array_keys($this->casts));
130 130
     }
131 131
 
132 132
     /*
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
             $attribute_value = (array) $this->{$attribute_name};
210 210
             foreach ($files_to_clear as $key => $filename) {
211 211
                 \Storage::disk($disk)->delete($filename);
212
-                $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) {
212
+                $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) {
213 213
                     return $value != $filename;
214 214
                 });
215 215
             }
Please login to merge, or discard this patch.