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 (#2061)
by Cristian
03:29
created
src/resources/views/columns/array_count.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     $suffix = isset($column['suffix']) ? $column['suffix'] : 'items';
9 9
 
10 10
     // the value should be an array wether or not attribute casting is used
11
-    if (! is_array($array)) {
11
+    if (!is_array($array)) {
12 12
         $array = json_decode($array, true);
13 13
     }
14 14
     if ($array && count($array)) {
Please login to merge, or discard this patch.
src/resources/views/reorder.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 <?php
19 19
 function tree_element($entry, $key, $all_entries, $crud)
20 20
 {
21
-    if (! isset($entry->tree_element_shown)) {
21
+    if (!isset($entry->tree_element_shown)) {
22 22
         // mark the element as shown
23 23
         $all_entries[$key]->tree_element_shown = true;
24 24
         $entry->tree_element_shown = true;
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
                         <ol class="sortable">
72 72
                         <?php
73 73
                             $all_entries = collect($entries->all())->sortBy('lft')->keyBy($crud->getModel()->getKeyName());
74
-                            $root_entries = $all_entries->filter(function ($item) {
74
+                            $root_entries = $all_entries->filter(function($item) {
75 75
                                 return $item->parent_id == 0;
76 76
                             });
77 77
                             foreach ($root_entries as $key => $entry) {
Please login to merge, or discard this patch.
src/resources/views/fields/table.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 <?php
4 4
     $max = isset($field['max']) && (int) $field['max'] > 0 ? $field['max'] : -1;
5 5
     $min = isset($field['min']) && (int) $field['min'] > 0 ? $field['min'] : -1;
6
-    $item_name = strtolower(isset($field['entity_singular']) && ! empty($field['entity_singular']) ? $field['entity_singular'] : $field['label']);
6
+    $item_name = strtolower(isset($field['entity_singular']) && !empty($field['entity_singular']) ? $field['entity_singular'] : $field['label']);
7 7
 
8 8
     $items = old(square_brackets_to_dots($field['name'])) ?? $field['value'] ?? $field['default'] ?? '';
9 9
 
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
         } else {
16 16
             $items = '[]';
17 17
         }
18
-    } elseif (is_string($items) && ! is_array(json_decode($items))) {
18
+    } elseif (is_string($items) && !is_array(json_decode($items))) {
19 19
         $items = '[]';
20 20
     }
21 21
 
Please login to merge, or discard this patch.
src/resources/views/fields/date_picker.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
 
10 10
     $field_language = isset($field['date_picker_options']['language']) ? $field['date_picker_options']['language'] : \App::getLocale();
11 11
 
12
-    if (! isset($field['attributes']['style'])) {
12
+    if (!isset($field['attributes']['style'])) {
13 13
         $field['attributes']['style'] = 'background-color: white!important;';
14 14
     }
15
-    if (! isset($field['attributes']['readonly'])) {
15
+    if (!isset($field['attributes']['readonly'])) {
16 16
         $field['attributes']['readonly'] = 'readonly';
17 17
     }
18 18
 ?>
Please login to merge, or discard this patch.
src/resources/views/fields/icon_picker.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 <?php
4 4
 // if no iconset was provided, set the default iconset to Font-Awesome
5
-if (! isset($field['iconset'])) {
5
+if (!isset($field['iconset'])) {
6 6
     $field['iconset'] = 'fontawesome';
7 7
 }
8 8
 ?>
Please login to merge, or discard this patch.
src/resources/views/fields/date_range.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 <?php
4 4
     // if the column has been cast to Carbon or Date (using attribute casting)
5 5
     // get the value as a date string
6
-    if (! function_exists('formatDate')) {
6
+    if (!function_exists('formatDate')) {
7 7
         function formatDate($entry, $dateFieldName)
8 8
         {
9 9
             $formattedDate = null;
10
-            if (isset($entry) && ! empty($entry->{$dateFieldName})) {
10
+            if (isset($entry) && !empty($entry->{$dateFieldName})) {
11 11
                 $dateField = $entry->{$dateFieldName};
12 12
                 if ($dateField instanceof \Carbon\CarbonInterface) {
13 13
                     $formattedDate = $dateField->format('Y-m-d H:i:s');
Please login to merge, or discard this patch.
src/resources/views/fields/page_or_link.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     </div>
38 38
     <div class="col-sm-9">
39 39
         <!-- external link input -->
40
-          <div class="page_or_link_value <?php if (! isset($entry) || $entry->type != 'external_link') {
40
+          <div class="page_or_link_value <?php if (!isset($entry) || $entry->type != 'external_link') {
41 41
     echo 'hidden';
42 42
 } ?>" id="page_or_link_external_link">
43 43
             <input
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                 >
57 57
           </div>
58 58
           <!-- internal link input -->
59
-          <div class="page_or_link_value <?php if (! isset($entry) || $entry->type != 'internal_link') {
59
+          <div class="page_or_link_value <?php if (!isset($entry) || $entry->type != 'internal_link') {
60 60
     echo 'hidden';
61 61
 } ?>" id="page_or_link_internal_link">
62 62
             <input
Please login to merge, or discard this patch.