|
@@ 1176-1178 (lines=3) @@
|
| 1173 |
|
} |
| 1174 |
|
|
| 1175 |
|
// Take out the preceding space unless there was whitespace there in the original query |
| 1176 |
|
if (isset($original_tokens[$token['i'] - 1]) && $original_tokens[$token['i'] - 1][self::TOKEN_TYPE] !== self::TOKEN_TYPE_WHITESPACE) { |
| 1177 |
|
$return = rtrim($return, ' '); |
| 1178 |
|
} |
| 1179 |
|
|
| 1180 |
|
if (!$inline_parentheses) { |
| 1181 |
|
$increase_block_indent = true; |
|
@@ 1276-1278 (lines=3) @@
|
| 1273 |
|
} // Multiple boundary characters in a row should not have spaces between them (not including parentheses) |
| 1274 |
|
elseif ($token[self::TOKEN_TYPE] === self::TOKEN_TYPE_BOUNDARY) { |
| 1275 |
|
if (isset($tokens[$i - 1]) && $tokens[$i - 1][self::TOKEN_TYPE] === self::TOKEN_TYPE_BOUNDARY) { |
| 1276 |
|
if (isset($original_tokens[$token['i'] - 1]) && $original_tokens[$token['i'] - 1][self::TOKEN_TYPE] !== self::TOKEN_TYPE_WHITESPACE) { |
| 1277 |
|
$return = rtrim($return, ' '); |
| 1278 |
|
} |
| 1279 |
|
} |
| 1280 |
|
} |
| 1281 |
|
|