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 (#1987)
by Cristian
02:26
created
src/CrudTrait.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $conn->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('json', 'json_array');
70 70
         $conn->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('jsonb', 'json_array');
71 71
 
72
-        return ! $conn->getDoctrineColumn($table, $column_name)->getNotnull();
72
+        return !$conn->getDoctrineColumn($table, $column_name)->getNotnull();
73 73
     }
74 74
 
75 75
     /*
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     public function addFakes($columns = ['extras'])
87 87
     {
88 88
         foreach ($columns as $key => $column) {
89
-            if (! isset($this->attributes[$column])) {
89
+            if (!isset($this->attributes[$column])) {
90 90
                 continue;
91 91
             }
92 92
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      */
135 135
     public function shouldDecodeFake($column)
136 136
     {
137
-        return ! in_array($column, array_keys($this->casts));
137
+        return !in_array($column, array_keys($this->casts));
138 138
     }
139 139
 
140 140
     /**
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      */
146 146
     public function shouldEncodeFake($column)
147 147
     {
148
-        return ! in_array($column, array_keys($this->casts));
148
+        return !in_array($column, array_keys($this->casts));
149 149
     }
150 150
 
151 151
     /*
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
     public function uploadMultipleFilesToDisk($value, $attribute_name, $disk, $destination_path)
220 220
     {
221 221
         $request = \Request::instance();
222
-        if (! is_array($this->{$attribute_name})) {
222
+        if (!is_array($this->{$attribute_name})) {
223 223
             $attribute_value = json_decode($this->{$attribute_name}, true) ?? [];
224 224
         } else {
225 225
             $attribute_value = $this->{$attribute_name};
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
         if ($files_to_clear) {
232 232
             foreach ($files_to_clear as $key => $filename) {
233 233
                 \Storage::disk($disk)->delete($filename);
234
-                $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) {
234
+                $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) {
235 235
                     return $value != $filename;
236 236
                 });
237 237
             }
Please login to merge, or discard this patch.
src/resources/views/blocks/select_item.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 	'label' => 'Select Item',
10 10
 	'icon'  => 'fa fa-hand-o-up', // TODO: make this icon attribute work
11 11
 	'fields' => [
12
-		[ // select_entity
12
+		[// select_entity
13 13
             'name' => 'entity_type',
14 14
             'label' => "Type",
15 15
             'type' => 'select_entity',
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
                'class' => 'form-group col-md-3'
31 31
              ],
32 32
         ],
33
-        [ // select2_entity_item
33
+        [// select2_entity_item
34 34
             'label'                => "Item", // Table column heading
35 35
             'type'                 => 'select2_entity_item',
36 36
             'name'                 => 'select2_entity_item', // the column that contains the ID of that connected entity;
Please login to merge, or discard this patch.
src/resources/views/blocks/text.blade.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 			'type' => 'custom_html',
20 20
 			'value' => '<hr>',
21 21
 		],
22
-		[ // title size
22
+		[// title size
23 23
 			'name' => 'title_size',
24 24
 			'label' => "Title size",
25 25
 			'type' => 'select_from_array',
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
                'class' => 'form-group col-md-3'
31 31
              ],
32 32
 		],
33
-		[ // title size
33
+		[// title size
34 34
 			'name' => 'title_alignment',
35 35
 			'label' => "Align",
36 36
 			'type' => 'select_from_array',
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
                'class' => 'form-group col-md-3'
42 42
              ],
43 43
 		],
44
-		[   // color_picker
44
+		[// color_picker
45 45
 			'label' => 'Text Color',
46 46
 			'name' => 'title_text_color',
47 47
 			'type' => 'color_picker',
Please login to merge, or discard this patch.