|
@@ 414-417 (lines=4) @@
|
| 411 |
|
$lineEnded = true; |
| 412 |
|
array_push($blocksIndentation, $indent); |
| 413 |
|
++$indent; |
| 414 |
|
} elseif (($curr->type === Token::TYPE_KEYWORD) && ($curr->value === 'END')) { |
| 415 |
|
$lineEnded = true; |
| 416 |
|
$indent = array_pop($blocksIndentation); |
| 417 |
|
} |
| 418 |
|
|
| 419 |
|
// Formatting fragments delimited by comma. |
| 420 |
|
if (($prev->type === Token::TYPE_OPERATOR) && ($prev->value === ',')) { |
|
@@ 445-449 (lines=5) @@
|
| 442 |
|
$shortGroup = false; |
| 443 |
|
} |
| 444 |
|
array_push($blocksLineEndings, $lineEnded); |
| 445 |
|
} elseif (($curr->type === Token::TYPE_OPERATOR) && ($curr->value === ')')) { |
| 446 |
|
$indent = array_pop($blocksIndentation); |
| 447 |
|
$lineEnded |= array_pop($blocksLineEndings); |
| 448 |
|
$shortGroup = false; |
| 449 |
|
} |
| 450 |
|
|
| 451 |
|
// Delimiter must be placed on the same line with the last |
| 452 |
|
// clause. |