|
@@ -269,7 +269,7 @@ discard block |
|
|
block discarded – undo |
|
269
|
269
|
// It is a string opening. |
|
270
|
270
|
$this->openedStringToken = $type; |
|
271
|
271
|
} else { |
|
272
|
|
- if (! $this->currentlyEscaping && $type === $this->openedStringToken) { |
|
|
272
|
+ if (!$this->currentlyEscaping && $type === $this->openedStringToken) { |
|
273
|
273
|
// We are in a string, the token is not escaped and is the same as the string opening token. |
|
274
|
274
|
// Close the string. |
|
275
|
275
|
$this->openedStringToken = null; |
|
@@ -286,7 +286,7 @@ discard block |
|
|
block discarded – undo |
|
286
|
286
|
private function afterConsume(int $type): void |
|
287
|
287
|
{ |
|
288
|
288
|
// Put in escaping mode if it were not escaping and there is a backslash token. |
|
289
|
|
- if (! $this->currentlyEscaping && $type === Lexer::T_BACKSLASH) { |
|
|
289
|
+ if (!$this->currentlyEscaping && $type === Lexer::T_BACKSLASH) { |
|
290
|
290
|
$this->currentlyEscaping = true; |
|
291
|
291
|
} else { |
|
292
|
292
|
$this->currentlyEscaping = false; |
Please login to merge, or discard this patch.