|
@@ -120,6 +120,10 @@ $c = 3;
|
|
|
$commentContent = substr($content, 2, -2) ?: '';
|
|
|
|
|
|
if ($this->hashEnabled && '#' === $content[0]) {
|
|
|
+ if (isset($content[1]) && '[' === $content[1]) {
|
|
|
+ continue; // This might be attribute on PHP8, do not change
|
|
|
+ }
|
|
|
+
|
|
|
$tokens[$index] = new Token([$token->getId(), '//'.substr($content, 1)]);
|
|
|
|
|
|
continue;
|