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 (#1937)
by Cristian
03:03
created
src/app/Http/Controllers/Operations/CreateOperation.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Backpack\CRUD\app\Http\Controllers\Operations;
4 4
 
5
-use Illuminate\Support\Facades\Route;
6 5
 use Illuminate\Http\Request as StoreRequest;
6
+use Illuminate\Support\Facades\Route;
7 7
 
8 8
 trait CreateOperation
9 9
 {
Please login to merge, or discard this patch.
src/app/Http/Controllers/Operations/UpdateOperation.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Backpack\CRUD\app\Http\Controllers\Operations;
4 4
 
5
-use Illuminate\Support\Facades\Route;
6 5
 use Illuminate\Http\Request as UpdateRequest;
6
+use Illuminate\Support\Facades\Route;
7 7
 
8 8
 trait UpdateOperation
9 9
 {
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
     /**
11 11
      * Define which routes are needed for this operation.
12 12
      *
13
-     * @param  string $name       Name of the current entity (singular). Used as first URL segment.
14 13
      * @param  string $routeName    Prefix of the route name.
15 14
      * @param  string $controller Name of the current CrudController.
16 15
      */
Please login to merge, or discard this patch.
src/app/Http/Controllers/Operations/BulkCloneOperation.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
     /**
25 25
      * Create duplicates of multiple entries in the datatabase.
26 26
      *
27
-     * @param int $id
28 27
      *
29 28
      * @return Response
30 29
      */
Please login to merge, or discard this patch.
src/app/Http/Controllers/Operations/CloneOperation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      *
27 27
      * @param int $id
28 28
      *
29
-     * @return Response
29
+     * @return string
30 30
      */
31 31
     public function clone($id)
32 32
     {
Please login to merge, or discard this patch.
src/app/Http/Controllers/Operations/ReorderOperation.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
     /**
10 10
      * Define which routes are needed for this operation.
11 11
      *
12
-     * @param  string $name       Name of the current entity (singular). Used as first URL segment.
13 12
      * @param  string $routeName    Prefix of the route name.
14 13
      * @param  string $controller Name of the current CrudController.
15 14
      */
Please login to merge, or discard this patch.
src/CrudServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -88,13 +88,13 @@  discard block
 block discarded – undo
88 88
      */
89 89
     public function register()
90 90
     {
91
-        $this->app->bind('CRUD', function ($app) {
91
+        $this->app->bind('CRUD', function($app) {
92 92
             return new CRUD($app);
93 93
         });
94 94
 
95 95
         // load a macro for Route,
96 96
         // for developers to be able to load all routes for a CRUD resource in one line
97
-        if (! Route::hasMacro('crudResource')) {
97
+        if (!Route::hasMacro('crudResource')) {
98 98
             $this->addRouteMacro();
99 99
         }
100 100
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $this->commands($this->commands);
106 106
 
107 107
         // map the elfinder prefix
108
-        if (! \Config::get('elfinder.route.prefix')) {
108
+        if (!\Config::get('elfinder.route.prefix')) {
109 109
             \Config::set('elfinder.route.prefix', \Config::get('backpack.base.route_prefix').'/elfinder');
110 110
         }
111 111
     }
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     private function addRouteMacro()
120 120
     {
121
-        Route::macro('crud', function ($name, $controller) {
121
+        Route::macro('crud', function($name, $controller) {
122 122
             // check if a specific route name was passed
123 123
             $routeName = '';
124 124
             if ($this->hasGroupStack()) {
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     {
162 162
         $crudPubPath = public_path('vendor/backpack/crud');
163 163
 
164
-        if (! is_dir($crudPubPath)) {
164
+        if (!is_dir($crudPubPath)) {
165 165
             return true;
166 166
         }
167 167
 
Please login to merge, or discard this patch.