@@ -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]; |
@@ -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.'), |
@@ -75,8 +75,7 @@ |
||
| 75 | 75 | if($command->hasFreeformParameters()) |
| 76 | 76 | { |
| 77 | 77 | $params = $command->getParams()->getStatementString(); |
| 78 | - } |
|
| 79 | - else |
|
| 78 | + } else |
|
| 80 | 79 | { |
| 81 | 80 | $params = $command->getParams()->getNormalized(); |
| 82 | 81 | } |