@@ -119,8 +119,7 @@ |
||
| 119 | 119 | if($closing) |
| 120 | 120 | { |
| 121 | 121 | array_pop($stack); |
| 122 | - } |
|
| 123 | - else |
|
| 122 | + } else |
|
| 124 | 123 | { |
| 125 | 124 | $stack[] = $tagName; |
| 126 | 125 | } |
@@ -260,8 +260,7 @@ |
||
| 260 | 260 | if($highlighted) |
| 261 | 261 | { |
| 262 | 262 | $formatting->replaceWithHTMLHighlighting(); |
| 263 | - } |
|
| 264 | - else |
|
| 263 | + } else |
|
| 265 | 264 | { |
| 266 | 265 | $formatting->replaceWithNormalized(); |
| 267 | 266 | } |
@@ -146,8 +146,7 @@ discard block |
||
| 146 | 146 | if($cmd instanceof Mailcode_Commands_Command_Type_Opening) |
| 147 | 147 | { |
| 148 | 148 | $this->stack[] = $cmd; |
| 149 | - } |
|
| 150 | - else if($cmd instanceof Mailcode_Commands_Command_Type_Closing) |
|
| 149 | + } else if($cmd instanceof Mailcode_Commands_Command_Type_Closing) |
|
| 151 | 150 | { |
| 152 | 151 | array_pop($this->stack); |
| 153 | 152 | } |
@@ -177,13 +176,11 @@ discard block |
||
| 177 | 176 | if(!empty($matches[1][$index])) |
| 178 | 177 | { |
| 179 | 178 | $name = $matches[1][$index]; |
| 180 | - } |
|
| 181 | - else if(!empty($matches[2][$index])) |
|
| 179 | + } else if(!empty($matches[2][$index])) |
|
| 182 | 180 | { |
| 183 | 181 | $name = $matches[2][$index]; |
| 184 | 182 | $params = $matches[3][$index]; |
| 185 | - } |
|
| 186 | - else if(!empty($matches[4][$index])) |
|
| 183 | + } else if(!empty($matches[4][$index])) |
|
| 187 | 184 | { |
| 188 | 185 | $name = $matches[4][$index]; |
| 189 | 186 | $type = $matches[5][$index]; |
@@ -632,8 +632,7 @@ |
||
| 632 | 632 | if($encoding) |
| 633 | 633 | { |
| 634 | 634 | $this->params->getInfo()->addURLEncoding(); |
| 635 | - } |
|
| 636 | - else |
|
| 635 | + } else |
|
| 637 | 636 | { |
| 638 | 637 | $this->params->getInfo()->removeURLEncoding(); |
| 639 | 638 | } |
@@ -36,8 +36,7 @@ |
||
| 36 | 36 | if($var->isValid()) |
| 37 | 37 | { |
| 38 | 38 | $this->valueToken = $var->getToken(); |
| 39 | - } |
|
| 40 | - else |
|
| 39 | + } else |
|
| 41 | 40 | { |
| 42 | 41 | $this->validationResult->makeError( |
| 43 | 42 | t('No value has been specified.'), |