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 (#2138)
by Jasper
02:33
created
tests/Unit/CrudPanel/CrudPanelTest.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\Tests\Unit\CrudPanel;
4 4
 
5
-use Illuminate\Database\Eloquent\Builder;
6 5
 use Backpack\CRUD\Tests\Unit\Models\TestModel;
6
+use Illuminate\Database\Eloquent\Builder;
7 7
 
8 8
 class CrudPanelTest extends BaseCrudPanelTest
9 9
 {
Please login to merge, or discard this patch.
tests/Unit/CrudPanel/CrudPanelUpdateTest.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Backpack\CRUD\Tests\Unit\CrudPanel;
4 4
 
5
-use Faker\Factory;
6
-use Illuminate\Support\Facades\DB;
7 5
 use Backpack\CRUD\Tests\Unit\Models\User;
6
+use Faker\Factory;
8 7
 use Illuminate\Database\Eloquent\ModelNotFoundException;
8
+use Illuminate\Support\Facades\DB;
9 9
 
10 10
 class CrudPanelUpdateTest extends BaseDBCrudPanelTest
11 11
 {
Please login to merge, or discard this patch.
tests/Unit/CrudPanel/CrudPanelTabsTest.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\Tests\Unit\CrudPanel;
4 4
 
5
-use Illuminate\Support\Facades\DB;
6 5
 use Backpack\CRUD\Tests\Unit\Models\Article;
6
+use Illuminate\Support\Facades\DB;
7 7
 
8 8
 class CrudPanelTabsTest extends BaseDBCrudPanelTest
9 9
 {
Please login to merge, or discard this patch.
src/app/Http/Controllers/Operations/BulkCloneOperation.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
     {
30 30
         $this->crud->allowAccess('bulkClone');
31 31
 
32
-        $this->crud->operation('bulkClone', function () {
32
+        $this->crud->operation('bulkClone', function() {
33 33
             $this->crud->loadDefaultOperationSettingsFromConfig();
34 34
         });
35 35
 
36
-        $this->crud->operation('list', function () {
36
+        $this->crud->operation('list', function() {
37 37
             $this->crud->enableBulkActions();
38 38
             $this->crud->addButton('bottom', 'bulk_clone', 'view', 'crud::buttons.bulk_clone', 'beginning');
39 39
         });
Please login to merge, or discard this patch.
src/app/Http/Controllers/Operations/CloneOperation.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
     {
30 30
         $this->crud->allowAccess('clone');
31 31
 
32
-        $this->crud->operation('clone', function () {
32
+        $this->crud->operation('clone', function() {
33 33
             $this->crud->loadDefaultOperationSettingsFromConfig();
34 34
         });
35 35
 
36
-        $this->crud->operation(['list', 'show'], function () {
36
+        $this->crud->operation(['list', 'show'], function() {
37 37
             $this->crud->addButton('line', 'clone', 'view', 'crud::buttons.clone', 'end');
38 38
         });
39 39
     }
Please login to merge, or discard this patch.
tests/Unit/CrudPanel/CrudPanelAutoSetTest.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\Tests\Unit\CrudPanel;
4 4
 
5
-use Doctrine\DBAL\DBALException;
6 5
 use Backpack\CRUD\Tests\Unit\Models\ColumnType;
6
+use Doctrine\DBAL\DBALException;
7 7
 
8 8
 class MyColumnTypeWithOtherConnection extends ColumnType
9 9
 {
Please login to merge, or discard this patch.
tests/Unit/CrudPanel/CrudPanelFakeFieldsTest.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\Tests\Unit\CrudPanel;
4 4
 
5
-use Illuminate\Support\Facades\DB;
6 5
 use Backpack\CRUD\Tests\Unit\Models\Article;
6
+use Illuminate\Support\Facades\DB;
7 7
 
8 8
 class CrudPanelFakeFieldsTest extends BaseDBCrudPanelTest
9 9
 {
Please login to merge, or discard this patch.
src/app/Http/Controllers/CrudController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
         // call the setup function inside this closure to also have the request there
29 29
         // this way, developers can use things stored in session (auth variables, etc)
30
-        $this->middleware(function ($request, $next) {
30
+        $this->middleware(function($request, $next) {
31 31
             // make a new CrudPanel object, from the one stored in Laravel's service container
32 32
             $this->crud = app()->make('crud');
33 33
             $this->request = $request;
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Backpack\CRUD\app\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-use Illuminate\Routing\Controller;
7 5
 use Illuminate\Foundation\Bus\DispatchesJobs;
8 6
 use Illuminate\Foundation\Validation\ValidatesRequests;
7
+use Illuminate\Routing\Controller;
9 8
 
10 9
 class CrudController extends Controller
11 10
 {
Please login to merge, or discard this patch.
tests/Unit/CrudPanel/CrudPanelButtonsTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
 
248 248
     private function getButtonByName($name)
249 249
     {
250
-        return $this->crudPanel->buttons()->first(function ($value) use ($name) {
250
+        return $this->crudPanel->buttons()->first(function($value) use ($name) {
251 251
             return $value->name == $name;
252 252
         });
253 253
     }
Please login to merge, or discard this patch.