We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -59,7 +59,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -105,7 +105,7 @@ discard block |
||
| 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 |
||
| 122 | 122 | */ |
| 123 | 123 | public function shouldDecodeFake($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 | /** |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | */ |
| 134 | 134 | public function shouldEncodeFake($column) |
| 135 | 135 | { |
| 136 | - return ! in_array($column, array_keys($this->casts)); |
|
| 136 | + return !in_array($column, array_keys($this->casts)); |
|
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | /* |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | $attribute_value = (array) $this->{$attribute_name}; |
| 217 | 217 | foreach ($files_to_clear as $key => $filename) { |
| 218 | 218 | \Storage::disk($disk)->delete($filename); |
| 219 | - $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) { |
|
| 219 | + $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) { |
|
| 220 | 220 | return $value != $filename; |
| 221 | 221 | }); |
| 222 | 222 | } |