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 (#1558)
by Cristian
13:38 queued 09:34
created
src/CrudServiceProvider.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
      * Check if the application is running in normal conditions
124 124
      * (production env, not in console, not in unit tests).
125 125
      *
126
-     * @return void
126
+     * @return false|null
127 127
      */
128 128
     private function runningInProduction()
129 129
     {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function register()
86 86
     {
87
-        $this->app->bind('CRUD', function ($app) {
87
+        $this->app->bind('CRUD', function($app) {
88 88
             return new CRUD($app);
89 89
         });
90 90
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         $this->commands($this->commands);
93 93
 
94 94
         // map the elfinder prefix
95
-        if (! \Config::get('elfinder.route.prefix')) {
95
+        if (!\Config::get('elfinder.route.prefix')) {
96 96
             \Config::set('elfinder.route.prefix', \Config::get('backpack.base.route_prefix').'/elfinder');
97 97
         }
98 98
     }
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     {
113 113
         $crudPubPath = public_path('vendor/backpack/crud');
114 114
 
115
-        if (! is_dir($crudPubPath)) {
115
+        if (!is_dir($crudPubPath)) {
116 116
             return true;
117 117
         }
118 118
 
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     private function sendUsageStats()
152 152
     {
153 153
         // only do this in production
154
-        if (! $this->runningInProduction()) {
154
+        if (!$this->runningInProduction()) {
155 155
             return;
156 156
         }
157 157
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Backpack\CRUD;
4 4
 
5
-use Route;
6 5
 use GuzzleHttp\Client;
7 6
 use Illuminate\Support\ServiceProvider;
8 7
 
Please login to merge, or discard this patch.