Passed
Pull Request — master (#1093)
by Iman
06:16
created
src/views/default/_index/advanced_filter_modal.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
             <form method='get' action=''>
10 10
                 <div class="modal-body">
11 11
                     @foreach($columns as $key => $col)
12
-                    <?php if (isset($col['image']) || isset($col['download']) || $col['visible'] === FALSE) continue;?>
12
+                    <?php if (isset($col['image']) || isset($col['download']) || $col['visible'] === FALSE) continue; ?>
13 13
 
14 14
                     <div class='form-group'>
15 15
 
Please login to merge, or discard this patch.
src/views/default/_index/table.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
         @foreach($html_contents['html'] as $i=>$hc)
120 120
 
121 121
             @if($table_row_color)
122
-                <?php $tr_color = NULL;?>
122
+                <?php $tr_color = NULL; ?>
123 123
                 @foreach($table_row_color as $trc)
124 124
                     <?php
125 125
                     $query = $trc['condition'];
Please login to merge, or discard this patch.
src/views/default/type_components/select_dataenum/component.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php $default = ! empty($formInput['placeholder']) ? $formInput['placeholder'] : cbTrans('text_prefix_option')." ".$label;?>
1
+<?php $default = !empty($formInput['placeholder']) ? $formInput['placeholder'] : cbTrans('text_prefix_option')." ".$label; ?>
2 2
 
3 3
 <?php
4 4
 $options = [];
Please login to merge, or discard this patch.
src/views/default/type_components/checkbox_dataquery/component.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-if(@$formInput['options']['query']){
2
+if (@$formInput['options']['query']) {
3 3
     $field_label = $formInput['options']['field_label'];
4 4
     $field_value = $formInput['options']['field_value'];
5 5
 
Please login to merge, or discard this patch.
src/views/default/type_components/radio/component_detail.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
                 break;
31 31
             }
32 32
         }
33
-        if (! $value) $value = [];
33
+        if (!$value) $value = [];
34 34
     }
35 35
 } else {
36 36
     $value = explode(";", $value);
Please login to merge, or discard this patch.
src/views/default/type_components/radio/component.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 
69 69
             foreach ($selects_data as $d) {
70 70
                 $val = $d->{$select_field_alias};
71
-                if ($val == '' || ! $d->id) continue;
71
+                if ($val == '' || !$d->id) continue;
72 72
 
73 73
                 $checked = ($value == $d->id) ? "checked" : "";
74 74
 
Please login to merge, or discard this patch.
src/views/default/type_components/checkbox_datatable/component.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
  * @param $form
4 4
  * @return array
5 5
  */
6
-$queryData = function ($form)
6
+$queryData = function($form)
7 7
 {
8
-    if (! $formInput['options']['table']) return;
8
+    if (!$formInput['options']['table']) return;
9 9
     $field_label = $formInput['options']['field_label'];
10 10
     $field_value = $formInput['options']['field_value'];
11 11
 
Please login to merge, or discard this patch.
src/views/default/type_components/password/hookInputAssignment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use crocodicstudio\crudbooster\Modules\ModuleGenerator\ControllerGenerator\FieldDetector;
4 4
 
5 5
 if (FieldDetector::isPassword($name)) {
6
-    if (! empty($this->arr[$name])) {
6
+    if (!empty($this->arr[$name])) {
7 7
         $this->arr[$name] = Hash::make($this->arr[$name]);
8 8
     } else {
9 9
         unset($this->arr[$name]);
Please login to merge, or discard this patch.
src/views/default/type_components/child/partials/dataenum.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
 array_walk($dataEnum, 'trim');
9 9
 
10 10
 $radios = [];
11
-foreach ($dataEnum as $e=>$enum){
11
+foreach ($dataEnum as $e=>$enum) {
12 12
     $enum = explode('|', $enum);
13 13
     if (count($enum) == 1) {
14 14
         $enum[1] = $enum[0];
Please login to merge, or discard this patch.