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 — create-setup-cache-class ( d50094 )
by Pedro
15:35
created
src/app/Library/Support/DatatableCache.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function cacheForComponent(string $tableId, string $controllerClass, ?\Closure $setup = null, ?string $name = null, ?CrudPanel $crud = null): bool
42 42
     {
43
-        if (! $setup) {
43
+        if (!$setup) {
44 44
             return false;
45 45
         }
46 46
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     {
82 82
         $tableId = request('datatable_id');
83 83
 
84
-        if (! $tableId) {
84
+        if (!$tableId) {
85 85
             \Log::debug('Missing datatable_id in request parameters');
86 86
             return false;
87 87
         }
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     public function applySetupClosure(CrudPanel $crud, string $controllerClass, \Closure $setupClosure, $entry = null): bool
102 102
     {
103 103
         $originalSetup = $setupClosure;
104
-        $modifiedSetup = function ($crud, $entry) use ($originalSetup, $controllerClass) {
104
+        $modifiedSetup = function($crud, $entry) use ($originalSetup, $controllerClass) {
105 105
             CrudManager::setActiveController($controllerClass);
106 106
 
107 107
             // Run the original closure
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 
175 175
             return $found;
176 176
         } catch (\Exception $e) {
177
-            \Log::error('Error applying cached datatable config: ' . $e->getMessage(), [
177
+            \Log::error('Error applying cached datatable config: '.$e->getMessage(), [
178 178
                 'exception' => $e,
179 179
             ]);
180 180
             return false;
Please login to merge, or discard this patch.
src/app/Library/Support/SetupCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     protected function generateCacheKey($identifier): string
16 16
     {
17
-        return $this->cachePrefix . $identifier;
17
+        return $this->cachePrefix.$identifier;
18 18
     }
19 19
     
20 20
     /**
Please login to merge, or discard this patch.
src/app/View/Components/Datatable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             $cache->cacheForComponent($this->tableId, $this->controller, $this->setup, $this->name, $this->crud);
35 35
         }
36 36
 
37
-        if (! $this->crud->has('list.datatablesUrl')) {
37
+        if (!$this->crud->has('list.datatablesUrl')) {
38 38
             $this->crud->set('list.datatablesUrl', $this->crud->getRoute());
39 39
         }
40 40
 
Please login to merge, or discard this patch.