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 — optimize-queries ( e16a2f...539379 )
by Pedro
15:02
created
src/BackpackServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -68,20 +68,20 @@  discard block
 block discarded – undo
68 68
         include_once __DIR__.'/macros.php';
69 69
 
70 70
         // Bind the CrudPanel object to Laravel's service container
71
-        $this->app->scoped('crud', function ($app) {
71
+        $this->app->scoped('crud', function($app) {
72 72
             return new CrudPanel();
73 73
         });
74 74
 
75
-        $this->app->scoped('DatabaseSchema', function ($app) {
75
+        $this->app->scoped('DatabaseSchema', function($app) {
76 76
             return new DatabaseSchema();
77 77
         });
78 78
 
79
-        $this->app->singleton('BackpackViewNamespaces', function ($app) {
79
+        $this->app->singleton('BackpackViewNamespaces', function($app) {
80 80
             return new ViewNamespaces();
81 81
         });
82 82
 
83 83
         // Bind the widgets collection object to Laravel's service container
84
-        $this->app->singleton('widgets', function ($app) {
84
+        $this->app->singleton('widgets', function($app) {
85 85
             return new Collection();
86 86
         });
87 87
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         $middleware_key = config('backpack.base.middleware_key');
98 98
         $middleware_class = config('backpack.base.middleware_class');
99 99
 
100
-        if (! is_array($middleware_class)) {
100
+        if (!is_array($middleware_class)) {
101 101
             $router->pushMiddlewareToGroup($middleware_key, $middleware_class);
102 102
 
103 103
             return;
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
         $operationConfigs = scandir(__DIR__.'/config/backpack/operations/');
214 214
         $operationConfigs = array_diff($operationConfigs, ['.', '..']);
215 215
 
216
-        if (! count($operationConfigs)) {
216
+        if (!count($operationConfigs)) {
217 217
             return;
218 218
         }
219 219
 
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
 
282 282
     private function registerQueryCacheEvents(): void
283 283
     {
284
-        DB::listen(function (QueryExecuted $q) {
284
+        DB::listen(function(QueryExecuted $q) {
285 285
             if ($q->connection->hasModifiedRecords()) {
286 286
                 app('crud')->flushQueryCache();
287 287
             }
Please login to merge, or discard this patch.