@@ -73,7 +73,7 @@ |
||
| 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 |
@@ -66,7 +66,7 @@ |
||
| 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 | ); |
@@ -46,7 +46,7 @@ |
||
| 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 | } |
@@ -46,7 +46,7 @@ |
||
| 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 |
@@ -51,7 +51,7 @@ |
||
| 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, |
@@ -60,6 +60,6 @@ |
||
| 60 | 60 | return $string; |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | - return '"' . str_replace('"', '\"', $string) . '"'; |
|
| 63 | + return '"'.str_replace('"', '\"', $string).'"'; |
|
| 64 | 64 | } |
| 65 | 65 | } |