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 (#1533)
by Cristian
03:24
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
     /*
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         foreach ($columns as $key => $column) {
79 79
             $column_contents = $this->attributes[$column];
80 80
 
81
-            if (! is_object($column_contents)) {
81
+            if (!is_object($column_contents)) {
82 82
                 $column_contents = json_decode($column_contents);
83 83
             }
84 84
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     {
102 102
         $model = '\\'.get_class($this);
103 103
 
104
-        if (! count($columns)) {
104
+        if (!count($columns)) {
105 105
             $columns = (property_exists($model, 'fakeColumns')) ? $this->fakeColumns : ['extras'];
106 106
         }
107 107
 
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     public function shouldEncodeFake($column)
120 120
     {
121
-        return ! in_array($column, array_keys($this->casts));
121
+        return !in_array($column, array_keys($this->casts));
122 122
     }
123 123
 
124 124
     /*
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
             $attribute_value = (array) $this->{$attribute_name};
202 202
             foreach ($files_to_clear as $key => $filename) {
203 203
                 \Storage::disk($disk)->delete($filename);
204
-                $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) {
204
+                $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) {
205 205
                     return $value != $filename;
206 206
                 });
207 207
             }
Please login to merge, or discard this patch.