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 ( b93bc1...ad0dd3 )
by Pedro
12:38
created
src/app/Http/Controllers/Operations/CreateOperation.php 1 patch
Spacing   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,11 +36,11 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $this->crud->allowAccess('create');
38 38
 
39
-        LifecycleHook::hookInto('create:before_setup', function () {
39
+        LifecycleHook::hookInto('create:before_setup', function() {
40 40
             $this->crud->setupDefaultSaveActions();
41 41
         });
42 42
 
43
-        LifecycleHook::hookInto('list:before_setup', function () {
43
+        LifecycleHook::hookInto('list:before_setup', function() {
44 44
             $this->crud->addButton('top', 'create', 'view', 'crud::buttons.create');
45 45
         });
46 46
     }
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
         // load the view from /resources/views/vendor/backpack/crud/ if it exists, otherwise load the one in the package
63 63
         return  request()->ajax() ? 
64
-            view('crud::components.form.form_ajax_view', $this->data) :
65
-            view($this->crud->getCreateView(), $this->data);
64
+            view('crud::components.form.form_ajax_view', $this->data) : view($this->crud->getCreateView(), $this->data);
66 65
     }
67 66
 
68 67
     public function createForm()
@@ -70,7 +69,7 @@  discard block
 block discarded – undo
70 69
         $this->crud->hasAccessOrFail('create');
71 70
 
72 71
         // if the request isn't an AJAX request, return a 404
73
-        if (! request()->ajax()) {
72
+        if (!request()->ajax()) {
74 73
             abort(404);
75 74
         }
76 75
 
Please login to merge, or discard this patch.
src/app/Http/Controllers/Operations/UpdateOperation.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $this->crud->allowAccess('update');
38 38
 
39
-        LifecycleHook::hookInto('update:before_setup', function () {
39
+        LifecycleHook::hookInto('update:before_setup', function() {
40 40
             $this->crud->loadDefaultOperationSettingsFromConfig();
41 41
 
42 42
             if ($this->crud->getModel()->translationEnabled()) {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             $this->crud->setupDefaultSaveActions();
51 51
         });
52 52
 
53
-        LifecycleHook::hookInto(['list:before_setup', 'show:before_setup'], function () {
53
+        LifecycleHook::hookInto(['list:before_setup', 'show:before_setup'], function() {
54 54
             $this->crud->addButton('line', 'update', 'view', 'crud::buttons.update', 'end');
55 55
         });
56 56
     }
@@ -83,8 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
         // load the view from /resources/views/vendor/backpack/crud/ if it exists, otherwise load the one in the package
85 85
         return  request()->ajax() ? 
86
-            view('crud::form_ajax_view', $this->data) :
87
-            view($this->crud->getEditView(), $this->data);
86
+            view('crud::form_ajax_view', $this->data) : view($this->crud->getEditView(), $this->data);
88 87
     }
89 88
 
90 89
     /**
Please login to merge, or discard this patch.