Completed
Push — master ( 3cee74...e04c03 )
by Nikolas
03:25
created
src/delivery/web/fields/DateTimeField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             HeadElements::script('//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.14.30/js/bootstrap-datetimepicker.min.js'),
77 77
             HeadElements::style('//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.14.30/css/bootstrap-datetimepicker.min.css'),
78 78
             new Element('script', [], [
79
-                'var dateTimePickerSettings = ' . json_encode($this->getOptions()) . ';'
79
+                'var dateTimePickerSettings = '.json_encode($this->getOptions()).';'
80 80
             ])
81 81
         ];
82 82
     }
Please login to merge, or discard this patch.
src/delivery/web/resources/ExecutionResource.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
             $confirm = true;
84 84
         }
85 85
 
86
-        return (new Template(__DIR__ . '/ExecutionTemplate.html.php'))
86
+        return (new Template(__DIR__.'/ExecutionTemplate.html.php'))
87 87
             ->render([
88 88
                 'name' => $this->app->name,
89 89
                 'caption' => $action->caption(),
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
                 'token' => $action->isModifying() && $this->app->token ? [
98 98
                     'name' => self::TOKEN_ARG,
99 99
                     'value' => $this->app->token->generate($actionId)
100
-                ]: null
100
+                ] : null
101 101
             ]);
102 102
     }
103 103
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
     private function assembleBreadCrumbs() {
118
-        return array_map(function (BreadCrumb $crumb) {
118
+        return array_map(function(BreadCrumb $crumb) {
119 119
             return [
120 120
                 'target' => $crumb->getTarget(),
121 121
                 'caption' => $crumb->getCaption()
Please login to merge, or discard this patch.
src/delivery/web/renderers/FileRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
             return (string)new Element('img', [
25 25
                 'title' => $value->getName(),
26 26
                 'src' => $this->createUrl($value),
27
-                'style' => 'max-height:' . $this->maxHeight(),
27
+                'style' => 'max-height:'.$this->maxHeight(),
28 28
             ]);
29 29
         }
30 30
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     protected function createUrl(File $file) {
41
-        return 'data:' . $file->getType() . ';base64,' . base64_encode($file->getContent());
41
+        return 'data:'.$file->getType().';base64,'.base64_encode($file->getContent());
42 42
     }
43 43
 
44 44
     protected function isImage(File $file) {
Please login to merge, or discard this patch.
src/delivery/web/renderers/ColorRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         }
26 26
 
27 27
         return (string)new Element('span', [
28
-            'style' => 'padding: 2pt 6pt; background-color: ' . $value->asHex()
28
+            'style' => 'padding: 2pt 6pt; background-color: '.$value->asHex()
29 29
         ], [$value->asHex()]);
30 30
     }
31 31
 
Please login to merge, or discard this patch.
src/execution/FailedResult.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,9 +29,9 @@
 block discarded – undo
29 29
 
30 30
         while ($exception) {
31 31
             $details .= $details ? 'Caused by: ' : 'Exception: ';
32
-            $details .= $this->exception->getMessage() . "\n" .
33
-                "In " . $this->exception->getFile() . '(' . $this->exception->getLine() . ")\n" .
34
-                $this->exception->getTraceAsString() . "\n\n";
32
+            $details .= $this->exception->getMessage()."\n".
33
+                "In ".$this->exception->getFile().'('.$this->exception->getLine().")\n".
34
+                $this->exception->getTraceAsString()."\n\n";
35 35
 
36 36
             $exception = $exception->getPrevious();
37 37
         }
Please login to merge, or discard this patch.
src/parameters/Identifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
     }
22 22
 
23 23
     public function __toString() {
24
-        return $this->id . ':' . $this->target;
24
+        return $this->id.':'.$this->target;
25 25
     }
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
src/delivery/web/fields/AutoCompleteField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             "]);
45 45
 
46 46
         return (string)new Element('select', [
47
-            'name' => $parameter->getName() . $fieldNameSuffix,
47
+            'name' => $parameter->getName().$fieldNameSuffix,
48 48
             'id' => $id,
49 49
             'class' => 'form-control combobox'
50 50
         ], $children);
Please login to merge, or discard this patch.