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 (#1255)
by Cristian
02:55
created
src/CrudServiceProvider.php 2 patches
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Backpack\CRUD;
4 4
 
5
-use Route;
6
-use Prologue\Alerts\Facades\Alert;
7 5
 use Illuminate\Support\ServiceProvider;
6
+use Prologue\Alerts\Facades\Alert;
8 7
 
9 8
 class CrudServiceProvider extends ServiceProvider
10 9
 {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     public function register()
77 77
     {
78
-        $this->app->bind('CRUD', function ($app) {
78
+        $this->app->bind('CRUD', function($app) {
79 79
             return new CRUD($app);
80 80
         });
81 81
 
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         $loader->alias('Image', \Intervention\Image\Facades\Image::class);
90 90
 
91 91
         // map the elfinder prefix
92
-        if (! \Config::get('elfinder.route.prefix')) {
92
+        if (!\Config::get('elfinder.route.prefix')) {
93 93
             \Config::set('elfinder.route.prefix', \Config::get('backpack.base.route_prefix').'/elfinder');
94 94
         }
95 95
     }
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     {
110 110
         $crudPubPath = public_path('vendor/backpack/crud');
111 111
 
112
-        if (! is_dir($crudPubPath)) {
112
+        if (!is_dir($crudPubPath)) {
113 113
             return true;
114 114
         }
115 115
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      */
125 125
     private function checkLicenseCodeExists()
126 126
     {
127
-        if (! env('BACKPACK_LICENSE')) {
127
+        if (!env('BACKPACK_LICENSE')) {
128 128
             Alert::add('warning', "<strong>You're using unlicensed software.</strong> Please <a target='_blank' href='http://backpackforlaravel.com'>purchase a license code</a> to hide this message.");
129 129
         }
130 130
     }
Please login to merge, or discard this patch.