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

Completed
Pull Request — master (#134)
by Owen
03:07
created
src/app/Http/Controllers/CrudController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
     public function __construct()
23 23
     {
24
-        $this->middleware(function ($request, $next) {
24
+        $this->middleware(function($request, $next) {
25 25
             $this->crud = new CrudPanel();
26 26
             $this->setUp();
27 27
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $this->data['title'] = ucfirst($this->crud->entity_name_plural);
58 58
 
59 59
         // get all entries if AJAX is not enabled
60
-        if (! $this->data['crud']->ajaxTable()) {
60
+        if (!$this->data['crud']->ajaxTable()) {
61 61
             $this->data['entries'] = $this->data['crud']->getEntries();
62 62
         }
63 63
 
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
         // is somewhat superfluous.. however if we are POSTing, it makes sense to actually have data to post.
240 240
         // Perhaps the route shoud be better named to reflect this (e.g. just /model/{id}/revisions) (??)
241 241
         $revisionId = \Request::input('revision_id', false);
242
-        if (! $revisionId) {
242
+        if (!$revisionId) {
243 243
             abort(500, 'Can\'t restore revision without revision_id');
244 244
         } else {
245 245
             $this->crud->restoreRevision($id, $revisionId); // do the update
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
     {
280 280
         $this->crud->hasAccessOrFail('reorder');
281 281
 
282
-        if (! $this->crud->isReorderEnabled()) {
282
+        if (!$this->crud->isReorderEnabled()) {
283 283
             abort(403, 'Reorder is disabled.');
284 284
         }
285 285
 
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
         $dataTable = new DataTable($this->crud->query, $columns);
351 351
 
352 352
         // make the datatable use the column types instead of just echoing the text
353
-        $dataTable->setFormatRowFunction(function ($entry) {
353
+        $dataTable->setFormatRowFunction(function($entry) {
354 354
             // get the actual HTML for each row's cell
355 355
             $row_items = $this->crud->getRowViews($entry, $this->crud);
356 356
 
Please login to merge, or discard this patch.