Completed
Push — master ( 5cd775...78bef9 )
by Jonathan
14:29 queued 04:27
created
resources/views/modules/default/uitypes/detail/file.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     <?php
7 7
         $value = $field->uitype->getFormattedValueToDisplay($field, $record);
8 8
         $valueParts = explode(';', $value);
9
-        $fileName = $valueParts[0];
9
+        $fileName = $valueParts[ 0 ];
10 10
     ?>
11 11
     @if (count($valueParts) === 2)
12 12
         <div class="truncate">
Please login to merge, or discard this patch.
resources/views/modules/default/list/main.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,8 +95,8 @@
 block discarded – undo
95 95
                                         <div class="hide-on-small-only hide-on-med-only">
96 96
                                             <?php
97 97
                                                 $searchValue = null;
98
-                                                if ($selectedFilter && !empty($selectedFilter->conditions->search->{$column['name']})) {
99
-                                                    $searchValue = $selectedFilter->conditions->search->{$column['name']};
98
+                                                if ($selectedFilter && !empty($selectedFilter->conditions->search->{$column[ 'name' ]})) {
99
+                                                    $searchValue = $selectedFilter->conditions->search->{$column[ 'name' ]};
100 100
                                                 }
101 101
 
102 102
                                                 // If a special template exists, use it. Else use the generic template
Please login to merge, or discard this patch.
resources/views/modules/default/detail/relatedlists/table.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
                     <div class="search hide-on-small-only hide-on-med-only hide">
30 30
                         <?php
31 31
                             $searchValue = null;
32
-                            if (!empty($selectedFilter) && !empty($selectedFilter->conditions->search->{$column['name']})) {
33
-                                $searchValue = $selectedFilter->conditions->search->{$column['name']};
32
+                            if (!empty($selectedFilter) && !empty($selectedFilter->conditions->search->{$column[ 'name' ]})) {
33
+                                $searchValue = $selectedFilter->conditions->search->{$column[ 'name' ]};
34 34
                             }
35 35
 
36 36
                             // If a special template exists, use it. Else use the generic template
Please login to merge, or discard this patch.
app/Support/Traits/RelatedlistTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
         // Related model
90 90
         $relatedModel = new $relatedList->relatedModule->model_class;
91 91
 
92
-        $relations->getCollection()->transform(function ($relation) use ($relatedModel) {
92
+        $relations->getCollection()->transform(function($relation) use ($relatedModel) {
93 93
             $record = $relatedModel::find($relation->related_record_id);
94 94
             $record->relation_id = $relation->id; // Add relation id
95 95
 
Please login to merge, or discard this patch.
app/Fields/Uitype/Select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,8 +87,8 @@
 block discarded – undo
87 87
      */
88 88
     public function addConditionToSearchQuery(Builder $query, Field $field, $value) : Builder
89 89
     {
90
-        $query->where(function ($query) use($field, $value) {
91
-            foreach ((array) $value as $_value) {
90
+        $query->where(function($query) use($field, $value) {
91
+            foreach ((array)$value as $_value) {
92 92
                 $formattedValue = $this->getFormattedValueToSearch($_value);
93 93
                 $query = $query->orWhere($field->column, 'like', $formattedValue);
94 94
             }
Please login to merge, or discard this patch.
app/Fields/Uitype/Entity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,8 +126,8 @@
 block discarded – undo
126 126
      */
127 127
     public function addConditionToSearchQuery(Builder $query, Field $field, $value) : Builder
128 128
     {
129
-        $query->where(function ($query) use($field, $value) {
130
-            foreach ((array) $value as $_value) {
129
+        $query->where(function($query) use($field, $value) {
130
+            foreach ((array)$value as $_value) {
131 131
                 $query = $query->orWhere($field->column, '=', $_value);
132 132
             }
133 133
         });
Please login to merge, or discard this patch.
app/Fields/Uitype/Checkbox.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,8 +87,8 @@
 block discarded – undo
87 87
      */
88 88
     public function addConditionToSearchQuery(Builder $query, Field $field, $value) : Builder
89 89
     {
90
-        $query->where(function ($query) use($field, $value) {
91
-            foreach ((array) $value as $_value) {
90
+        $query->where(function($query) use($field, $value) {
91
+            foreach ((array)$value as $_value) {
92 92
                 $formattedValue = $this->getFormattedValueToSearch($_value);
93 93
                 $query = $query->orWhere($field->column, $formattedValue);
94 94
             }
Please login to merge, or discard this patch.
app/Forms/Form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         }
33 33
 
34 34
         // If the form is not valid display a notification
35
-        if (! $this->isValid()) {
35
+        if (!$this->isValid()) {
36 36
             ucnotify(uctrans('notification.form.not_valid', $module), 'error');
37 37
         }
38 38
 
Please login to merge, or discard this patch.
app/Console/Commands/InstallCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,10 +58,10 @@  discard block
 block discarded – undo
58 58
         // $this->callSilent('vendor:publish', ['--tag' => 'uccello-provider']);
59 59
 
60 60
         $this->comment('Publishing Uccello Assets...');
61
-        $this->callSilent('vendor:publish', ['--tag' => 'uccello-assets']);
61
+        $this->callSilent('vendor:publish', [ '--tag' => 'uccello-assets' ]);
62 62
 
63 63
         $this->comment('Publishing Uccello Configuration...');
64
-        $this->callSilent('vendor:publish', ['--tag' => 'uccello-config']);
64
+        $this->callSilent('vendor:publish', [ '--tag' => 'uccello-config' ]);
65 65
 
66 66
 
67 67
         $this->comment('Copying User Model...');
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         }
86 86
 
87 87
         $this->comment('Executing make:auth...');
88
-        $this->callSilent('make:auth', ['--force' => true]);
88
+        $this->callSilent('make:auth', [ '--force' => true ]);
89 89
 
90 90
         $this->registerJWT();
91 91
     }
Please login to merge, or discard this patch.