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 — datatable-single-component ( a83d5b...7f00a3 )
by Pedro
13:09
created
tests/config/CrudPanel/BaseDBCrudPanelWithSingleton.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         parent::getEnvironmentSetUp($app);
34 34
 
35
-        $app->scoped('crud', function () {
35
+        $app->scoped('crud', function() {
36 36
             return new CrudPanel();
37 37
         });
38 38
     }
Please login to merge, or discard this patch.
tests/Unit/CrudPanel/CrudPanelAutoSetTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -851,7 +851,7 @@
 block discarded – undo
851 851
     public function testSetDoctrineTypesMapping()
852 852
     {
853 853
         $this->crudPanel->setModel(ColumnType::class);
854
-        if (! method_exists($this->crudPanel->getModel()->getConnection(), 'getDoctrineConnection')) {
854
+        if (!method_exists($this->crudPanel->getModel()->getConnection(), 'getDoctrineConnection')) {
855 855
             $this->markTestSkipped('This test is only for Laravel 10, Laravel 11 does not have dbal as a dependency anymore');
856 856
         }
857 857
 
Please login to merge, or discard this patch.
src/app/Http/Controllers/CrudController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
         //
35 35
         // It's done inside a middleware closure in order to have
36 36
         // the complete request inside the CrudPanel object.
37
-        $this->middleware(function ($request, $next) {
38
-            if (! CrudManager::hasCrudController(get_class($this))) {
37
+        $this->middleware(function($request, $next) {
38
+            if (!CrudManager::hasCrudController(get_class($this))) {
39 39
                 $this->initializeCrudController($request);
40 40
 
41 41
                 return $next($request);
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
         $crudPanel = $crudPanel->initialize(get_class($this), $request);
57 57
 
58
-        if (! $crudPanel->isInitialized()) {
58
+        if (!$crudPanel->isInitialized()) {
59 59
             $crudPanel->initialized = true;
60 60
 
61 61
             $this->setupCrudController($crudPanel->getCurrentOperation());
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     protected function setupConfigurationForCurrentOperation(?string $operation = null)
127 127
     {
128 128
         $operationName = $operation ?? $this->crud->getCurrentOperation();
129
-        if (! $operationName) {
129
+        if (!$operationName) {
130 130
             return;
131 131
         }
132 132
         $setupClassName = 'setup'.Str::studly($operationName).'Operation';
Please login to merge, or discard this patch.
src/app/Library/Datatable/Datatable.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             $this->storeDatatableConfig();
36 36
         }
37 37
 
38
-        if (! $this->crud->has('list.datatablesUrl')) {
38
+        if (!$this->crud->has('list.datatablesUrl')) {
39 39
             $this->crud->set('list.datatablesUrl', $this->crud->getRoute());
40 40
         }
41 41
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     private function storeDatatableConfig()
60 60
     {
61
-        if (! $this->configure) {
61
+        if (!$this->configure) {
62 62
             return;
63 63
         }
64 64
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     {
91 91
         $tableId = request('datatable_id');
92 92
 
93
-        if (! $tableId) {
93
+        if (!$tableId) {
94 94
             \Log::debug('Missing datatable_id in request parameters');
95 95
 
96 96
             return false;
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
         $cacheKey = 'datatable_config_'.$tableId;
100 100
         $cachedData = Cache::get($cacheKey);
101 101
 
102
-        if (! $cachedData) {
102
+        if (!$cachedData) {
103 103
             return false;
104 104
         }
105 105
 
Please login to merge, or discard this patch.
src/CrudPanelManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         $crud->setOperation($operation);
46 46
 
47 47
         $primaryControllerRequest = $this->cruds[array_key_first($this->cruds)]->getRequest();
48
-        if (! $crud->isInitialized()) {
48
+        if (!$crud->isInitialized()) {
49 49
             self::setActiveController($controller::class);
50 50
             $controller->initializeCrudController($primaryControllerRequest, $crud);
51 51
             self::unsetActiveController();
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
     public function getControllerCrud(string $controller): CrudPanel
70 70
     {
71
-        if (! isset($this->cruds[$controller])) {
71
+        if (!isset($this->cruds[$controller])) {
72 72
             return $this->crudFromController($this->getActiveController() ?? $this->requestController ?? $controller);
73 73
         }
74 74
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 
123 123
         $cruds = self::getCruds();
124 124
 
125
-        if (! empty($cruds)) {
125
+        if (!empty($cruds)) {
126 126
             $crudPanel = reset($cruds);
127 127
 
128 128
             return $crudPanel;
Please login to merge, or discard this patch.