Passed
Push — master ( e7c89c...d9a062 )
by Sebastian
06:11 queued 12s
created
src/Mailcode/Factory/CommandSets/Set/Show.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
             'ShowVariable',
36 36
             '',
37 37
             $variableName,
38
-            '{showvar:' . $variableName . '}'
38
+            '{showvar:'.$variableName.'}'
39 39
         );
40 40
 
41 41
         $this->instantiator->checkCommand($cmd);
Please login to merge, or discard this patch.
src/Mailcode/Factory/CommandSets/Set/Show/Date.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $cmd = $this->commands->createCommand(
52 52
             'ShowDate',
53 53
             '',
54
-            $variableName . $format . $timezone,
54
+            $variableName.$format.$timezone,
55 55
             sprintf(
56 56
                 '{showdate: %s%s%s}',
57 57
                 $variableName,
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             return $string;
76 76
         }
77 77
 
78
-        return '"' . str_replace('"', '\"', $string) . '"';
78
+        return '"'.str_replace('"', '\"', $string).'"';
79 79
     }
80 80
 
81 81
 }
Please login to merge, or discard this patch.
src/Mailcode/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 {
23 23
     public function __construct(string $message, ?string $details = null, $code = null, $previous = null)
24 24
     {
25
-        if(defined('TESTS_ROOT') && !empty($details)) {
25
+        if (defined('TESTS_ROOT') && !empty($details)) {
26 26
             $message .= PHP_EOL.
27 27
                 'Details:'.PHP_EOL.
28 28
                 $details;
Please login to merge, or discard this patch.
src/Mailcode/Traits/Commands/Validation/TimezoneTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             if (!$this->timezoneToken instanceof Mailcode_Parser_Statement_Tokenizer_Token_StringLiteral &&
41 41
                 !$this->timezoneToken instanceof Mailcode_Parser_Statement_Tokenizer_Token_Variable) {
42 42
                 $this->validationResult->makeError(
43
-                    t('Invalid timezone type.' . ' ' . 'Expected String or Variable.'),
43
+                    t('Invalid timezone type.'.' '.'Expected String or Variable.'),
44 44
                     TimezoneInterface::VALIDATION_TIMEZONE_CODE_WRONG_TYPE
45 45
                 );
46 46
                 return;
Please login to merge, or discard this patch.