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
Pull Request — main (#4988)
by Pedro
22:27 queued 07:33
created
src/BackpackServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -66,24 +66,24 @@  discard block
 block discarded – undo
66 66
         include_once __DIR__.'/macros.php';
67 67
 
68 68
         // Bind the CrudPanel object to Laravel's service container
69
-        $this->app->scoped('crud', function ($app) {
69
+        $this->app->scoped('crud', function($app) {
70 70
             return new CrudPanel();
71 71
         });
72 72
 
73
-        $this->app->scoped('DatabaseSchema', function ($app) {
73
+        $this->app->scoped('DatabaseSchema', function($app) {
74 74
             return new DatabaseSchema();
75 75
         });
76 76
 
77
-        $this->app->singleton('BackpackViewNamespaces', function ($app) {
77
+        $this->app->singleton('BackpackViewNamespaces', function($app) {
78 78
             return new ViewNamespaces();
79 79
         });
80 80
 
81 81
         // Bind the widgets collection object to Laravel's service container
82
-        $this->app->singleton('widgets', function ($app) {
82
+        $this->app->singleton('widgets', function($app) {
83 83
             return new Collection();
84 84
         });
85 85
 
86
-        $this->app->scoped('UploadStore', function ($app) {
86
+        $this->app->scoped('UploadStore', function($app) {
87 87
             return new UploadStore();
88 88
         });
89 89
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
         $middleware_key = config('backpack.base.middleware_key');
100 100
         $middleware_class = config('backpack.base.middleware_class');
101 101
 
102
-        if (! is_array($middleware_class)) {
102
+        if (!is_array($middleware_class)) {
103 103
             $router->pushMiddlewareToGroup($middleware_key, $middleware_class);
104 104
 
105 105
             return;
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
         $operationConfigs = scandir(__DIR__.'/config/backpack/operations/');
216 216
         $operationConfigs = array_diff($operationConfigs, ['.', '..']);
217 217
 
218
-        if (! count($operationConfigs)) {
218
+        if (!count($operationConfigs)) {
219 219
             return;
220 220
         }
221 221
 
Please login to merge, or discard this patch.
src/app/Library/CrudPanel/Uploads/Uploaders/Uploader.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     {
193 193
         $value = $entry->{$this->name};
194 194
 
195
-        if ($this->isMultiple && ! isset($entry->getCasts()[$this->name]) && is_string($value)) {
195
+        if ($this->isMultiple && !isset($entry->getCasts()[$this->name]) && is_string($value)) {
196 196
             $entry->{$this->name} = json_decode($value, true);
197 197
         } else {
198 198
             $entry->{$this->name} = Str::after($value, $this->path);
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
         $values = $entry->{$this->name};
213 213
 
214 214
         if ($this->isMultiple) {
215
-            if (! isset($entry->getCasts()[$this->name]) && is_string($values)) {
215
+            if (!isset($entry->getCasts()[$this->name]) && is_string($values)) {
216 216
                 $values = json_decode($values, true);
217 217
             }
218 218
         } else {
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      * @param  array  $definition
232 232
      * @return self
233 233
      */
234
-    public static function for(array $crudObject, array $definition)
234
+    public static function for (array $crudObject, array $definition)
235 235
     {
236 236
         return new static($crudObject, $definition);
237 237
     }
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
     {
295 295
         $items = CRUD::getRequest()->input('_order_'.$this->repeatableContainerName) ?? [];
296 296
 
297
-        array_walk($items, function (&$key, $value) {
297
+        array_walk($items, function(&$key, $value) {
298 298
             $requestValue = $key[$this->name] ?? null;
299 299
             $key = $this->isMultiple ? (is_string($requestValue) ? explode(',', $requestValue) : $requestValue) : $requestValue;
300 300
         });
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
     protected function getPreviousRepeatableValues(Model $entry)
322 322
     {
323 323
         $previousValues = json_decode($entry->getOriginal($this->repeatableContainerName), true);
324
-        if (! empty($previousValues)) {
324
+        if (!empty($previousValues)) {
325 325
             $previousValues = array_column($previousValues, $this->name);
326 326
         }
327 327
 
Please login to merge, or discard this patch.