Closed chrisnoden closed 5 years ago
Quick fix is to change line 91 of Parser.php to:
$this->lexer->setInput((string)$this->input);
Unable to update your tests because composer requirements are too general (PHPUnit is at 8.2.5 which meets your composer requirements but which is clearly incompatible, plus PHP 5.3.3 is no longer supported....)
Also in PHP 7.3.7 "\X" modifier causes an error.
In 7.3.6 this regular expression works, but in 7.3.7 I get an error
Warning: preg_split(): Compilation failed: escape sequence is invalid in character class at offset 10
Updating project to use doctrine/lexer v1.1.0 causes an Exception:
Can be resolved by downgrading to lexer 1.0.2