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

Test Failed
Push — datatable-single-component ( c12786...e77738 )
by Pedro
10:32
created
src/CrudPanelManager.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 
16 16
     private ?string $currentlyActiveCrudController = null;
17 17
 
18
-    public function getCrudPanel(CrudControllerContract|string $controller): CrudPanel
18
+    public function getCrudPanel(CrudControllerContract | string $controller): CrudPanel
19 19
     {
20 20
         $controllerClass = is_string($controller) ? $controller : get_class($controller);
21 21
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $crud->setOperation($operation);
44 44
 
45 45
         $primaryControllerRequest = $this->cruds[array_key_first($this->cruds)]->getRequest();
46
-        if (! $crud->isInitialized()) {
46
+        if (!$crud->isInitialized()) {
47 47
             self::setActiveController($controller::class);
48 48
             $controller->initializeCrudPanel($primaryControllerRequest, $crud);
49 49
             self::unsetActiveController();
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
     public function getActiveCrudPanel(string $controller): CrudPanel
79 79
     {
80
-        if (! isset($this->cruds[$controller])) {
80
+        if (!isset($this->cruds[$controller])) {
81 81
             return $this->getCrudPanel($this->getActiveController() ?? $this->getParentController() ?? $controller);
82 82
         }
83 83
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
     public function getParentController(): ?string
88 88
     {
89
-        if (! empty($this->cruds)) {
89
+        if (!empty($this->cruds)) {
90 90
             return array_key_first($this->cruds);
91 91
         }
92 92
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 
136 136
         $cruds = $this->getCrudPanels();
137 137
 
138
-        if (! empty($cruds)) {
138
+        if (!empty($cruds)) {
139 139
             $crudPanel = reset($cruds);
140 140
 
141 141
             return $crudPanel;
Please login to merge, or discard this patch.
src/app/Library/Datatable/Datatable.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $this->tableId = $this->generateTableId();
28 28
 
29 29
         if ($this->setup) {
30
-           // Apply the configuration using the shared method
30
+            // Apply the configuration using the shared method
31 31
             $this->applySetupClosure($this->crud, $this->controller, $this->setup, $this->getParentCrudEntry());
32 32
             $this->cacheSetupClosure();
33 33
         }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             $this->cacheSetupClosure();
33 33
         }
34 34
 
35
-        if (! $this->crud->has('list.datatablesUrl')) {
35
+        if (!$this->crud->has('list.datatablesUrl')) {
36 36
             $this->crud->set('list.datatablesUrl', $this->crud->getRoute());
37 37
         }
38 38
 
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     private function cacheSetupClosure()
93 93
     {
94
-        if (! $this->setup) {
94
+        if (!$this->setup) {
95 95
             return;
96 96
         }
97 97
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     {
124 124
         $tableId = request('datatable_id');
125 125
 
126
-        if (! $tableId) {
126
+        if (!$tableId) {
127 127
             \Log::debug('Missing datatable_id in request parameters');
128 128
 
129 129
             return false;
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         $cacheKey = 'datatable_config_'.$tableId;
133 133
         $cachedData = Cache::get($cacheKey);
134 134
 
135
-        if (! $cachedData) {
135
+        if (!$cachedData) {
136 136
             return false;
137 137
         }
138 138
 
Please login to merge, or discard this patch.