Test Failed
Pull Request — master (#13)
by Sebastian
05:15
created
src/Mailcode/Translator/Syntax/ApacheVelocity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         // All other special characters have to be escaped
74 74
         // with two backslashes.
75 75
         foreach ($this->regexSpecialChars as $char) {
76
-            $string = str_replace($char, '\\' . $char, $string);
76
+            $string = str_replace($char, '\\'.$char, $string);
77 77
         }
78 78
 
79 79
         // Restore the escaped quotes, which stay escaped
Please login to merge, or discard this patch.
src/Mailcode/Commands/Command/ShowVariable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         if (count($tokens) > count($allowed)) {
68 68
             $this->validationResult->makeError(
69
-                t('Unknown parameters found:') . ' ' .
69
+                t('Unknown parameters found:').' '.
70 70
                 t('Only the variable name and keywords should be specified.'),
71 71
                 self::VALIDATION_TOO_MANY_PARAMETERS
72 72
             );
Please login to merge, or discard this patch.
src/Mailcode/Traits/Commands/Validation/DecryptTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
         if (!$this->decryptionKeyToken instanceof Mailcode_Parser_Statement_Tokenizer_Token_StringLiteral) {
48 48
             $this->validationResult->makeError(
49
-                t('Invalid decryption key token:') . ' ' . t('Expected a string.'),
49
+                t('Invalid decryption key token:').' '.t('Expected a string.'),
50 50
                 DecryptInterface::VALIDATION_DECRYPT_CODE_WRONG_TYPE
51 51
             );
52 52
         }
Please login to merge, or discard this patch.
src/Mailcode/Factory/CommandSets/Set/Show.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $cmd = $this->commands->createCommand(
47 47
             'ShowVariable',
48 48
             '',
49
-            $variableName . $decryptionKey,
49
+            $variableName.$decryptionKey,
50 50
             sprintf('{showvar: %s%s}',
51 51
                 $variableName,
52 52
                 $decryptionKey
Please login to merge, or discard this patch.
src/Mailcode/Factory/CommandSets/Set/Show/Date.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 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,
Please login to merge, or discard this patch.
src/Mailcode/Factory/CommandSets/Set.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,6 +60,6 @@
 block discarded – undo
60 60
             return $string;
61 61
         }
62 62
 
63
-        return '"' . str_replace('"', '\"', $string) . '"';
63
+        return '"'.str_replace('"', '\"', $string).'"';
64 64
     }
65 65
 }
Please login to merge, or discard this patch.