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

Passed
Push — poc-upload-non-breaking ( 5d0aca...6fbcee )
by Pedro
13:41
created
src/app/Library/CrudPanel/CrudField.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
         // append the field name to the rule name of validationMessages array.
251 251
         // eg: ['required => 'This field is required']
252 252
         // will be transformed into: ['field_name.required' => 'This field is required]
253
-        $this->crud()->setValidationFromArray([], array_merge(...array_map(function ($rule, $message) {
253
+        $this->crud()->setValidationFromArray([], array_merge(...array_map(function($rule, $message) {
254 254
             return [$this->attributes['name'].'.'.$rule => $message];
255 255
         }, array_keys($messages), $messages)));
256 256
 
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
     {
438 438
         $macro = static::$macros[$method] ?? null;
439 439
 
440
-        if (! $macro) {
440
+        if (!$macro) {
441 441
             $this->setAttributeValue($method, $parameters[0]);
442 442
 
443 443
             return $this->save();
Please login to merge, or discard this patch.
src/app/Models/Traits/HasEnumFields.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@
 block discarded – undo
23 23
 
24 24
         try {
25 25
             $select = app()->version() < 10 ?
26
-                        DB::raw('SHOW COLUMNS FROM `'.$table_prefix.$instance->getTable().'` WHERE Field = "'.$field_name.'"') :
27
-                        DB::raw('SHOW COLUMNS FROM `'.$table_prefix.$instance->getTable().'` WHERE Field = "'.$field_name.'"')->getValue($connection->getQueryGrammar());
26
+                        DB::raw('SHOW COLUMNS FROM `'.$table_prefix.$instance->getTable().'` WHERE Field = "'.$field_name.'"') : DB::raw('SHOW COLUMNS FROM `'.$table_prefix.$instance->getTable().'` WHERE Field = "'.$field_name.'"')->getValue($connection->getQueryGrammar());
28 27
 
29 28
             $type = $connection->select($select)[0]->Type;
30 29
         } catch (\Exception $e) {
Please login to merge, or discard this patch.