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 (#139)
by Owen
26:30 queued 05:06
created
src/app/Http/Controllers/CrudController.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         $this->data['title'] = ucfirst($this->crud->entity_name_plural);
38 38
 
39 39
         // get all entries if AJAX is not enabled
40
-        if (! $this->data['crud']->ajaxTable()) {
40
+        if (!$this->data['crud']->ajaxTable()) {
41 41
             $this->data['entries'] = $this->data['crud']->getEntries();
42 42
         }
43 43
 
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
         // is somewhat superfluous.. however if we are POSTing, it makes sense to actually have data to post.
220 220
         // Perhaps the route shoud be better named to reflect this (e.g. just /model/{id}/revisions) (??)
221 221
         $revisionId = \Request::input('revision_id', false);
222
-        if (! $revisionId) {
222
+        if (!$revisionId) {
223 223
             abort(500, 'Can\'t restore revision without revision_id');
224 224
         } else {
225 225
             $this->crud->restoreRevision($id, $revisionId); // do the update
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
     {
260 260
         $this->crud->hasAccessOrFail('reorder');
261 261
 
262
-        if (! $this->crud->isReorderEnabled()) {
262
+        if (!$this->crud->isReorderEnabled()) {
263 263
             abort(403, 'Reorder is disabled.');
264 264
         }
265 265
 
@@ -325,15 +325,15 @@  discard block
 block discarded – undo
325 325
         // add the primary key, even though you don't show it,
326 326
         // otherwise the buttons won't work
327 327
         //we also need to remove relational fields from the columns
328
-        $columns = collect($this->crud->columns)->filter(function ($column, $key) {
329
-            return ! isset($column['entity']) && ! isset($column['model']); //we assume this is a relational field
328
+        $columns = collect($this->crud->columns)->filter(function($column, $key) {
329
+            return !isset($column['entity']) && !isset($column['model']); //we assume this is a relational field
330 330
         })->pluck('name')->merge($this->crud->model->getKeyName())->toArray();
331 331
 
332 332
         // structure the response in a DataTable-friendly way
333 333
         $dataTable = new DataTable($this->crud->query, $columns);
334 334
 
335 335
         // make the datatable use the column types instead of just echoing the text
336
-        $dataTable->setFormatRowFunction(function ($entry) {
336
+        $dataTable->setFormatRowFunction(function($entry) {
337 337
             // get the actual HTML for each row's cell
338 338
             $row_items = $this->crud->getRowViews($entry, $this->crud);
339 339
 
Please login to merge, or discard this patch.