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 — add-form-component ( 5ad161 )
by Pedro
15:49 queued 01:42
created
src/app/Http/Controllers/Operations/CreateOperation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,11 +42,11 @@  discard block
 block discarded – undo
42 42
     {
43 43
         $this->crud->allowAccess('create');
44 44
 
45
-        LifecycleHook::hookInto('create:before_setup', function () {
45
+        LifecycleHook::hookInto('create:before_setup', function() {
46 46
             $this->crud->setupDefaultSaveActions();
47 47
         });
48 48
 
49
-        LifecycleHook::hookInto('list:before_setup', function () {
49
+        LifecycleHook::hookInto('list:before_setup', function() {
50 50
             $this->crud->addButton('top', 'create', 'view', 'crud::buttons.create');
51 51
         });
52 52
     }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $this->crud->hasAccessOrFail('create');
75 75
 
76 76
         // if the request isn't an AJAX request, return a 404
77
-        if (! request()->ajax()) {
77
+        if (!request()->ajax()) {
78 78
             abort(404);
79 79
         }
80 80
 
Please login to merge, or discard this patch.
src/CrudPanelManager.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      * Get or create a CrudPanel instance for the given controller.
36 36
      */
37
-    public function getCrudPanel(CrudControllerContract|string $controller): CrudPanel
37
+    public function getCrudPanel(CrudControllerContract | string $controller): CrudPanel
38 38
     {
39 39
         $controllerClass = is_string($controller) ? $controller : get_class($controller);
40 40
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $crud->setOperation($operation);
70 70
 
71 71
         $primaryControllerRequest = $this->cruds[array_key_first($this->cruds)]->getRequest();
72
-        if (! $crud->isInitialized() || ! $this->isOperationInitialized($controller::class, $operation)) {
72
+        if (!$crud->isInitialized() || !$this->isOperationInitialized($controller::class, $operation)) {
73 73
             self::setActiveController($controller::class);
74 74
             $crud->initialized = false;
75 75
             $controller->initializeCrudPanel($primaryControllerRequest, $crud);
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     public function storeInitializedOperation(string $controller, ?string $operation): void
92 92
     {
93
-        if (! $operation) {
93
+        if (!$operation) {
94 94
             return;
95 95
         }
96 96
         $this->initializedOperations[$controller][] = $operation;
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     public function getActiveCrudPanel(string $controller): CrudPanel
141 141
     {
142
-        if (! isset($this->cruds[$controller])) {
142
+        if (!isset($this->cruds[$controller])) {
143 143
             return $this->getCrudPanel($this->getActiveController() ?? $this->getParentController() ?? $controller);
144 144
         }
145 145
 
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      */
154 154
     public function getParentController(): ?string
155 155
     {
156
-        if (! empty($this->cruds)) {
156
+        if (!empty($this->cruds)) {
157 157
             return array_key_first($this->cruds);
158 158
         }
159 159
 
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 
227 227
         $cruds = $this->getCrudPanels();
228 228
 
229
-        if (! empty($cruds)) {
229
+        if (!empty($cruds)) {
230 230
             $crudPanel = reset($cruds);
231 231
 
232 232
             return $crudPanel;
Please login to merge, or discard this patch.