-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doctrine\Common\Lexer is deprecated. #8
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Using this Package there is a php error while calling ReverseRegex\Lexer :
PHP Error : [16384][E_USER_DEPRECATED][prod][POST][http://xxxx]
"Doctrine\Common\Lexer is deprecated." - C:\wamp\www\xxx\vendor\doctrine\common\lib\Doctrine\Common\Lexer.php (8)
ReverseRegex\Lexer extends from Doctrine\Common\Lexer.php which is mentionned clearly that : @deprecated Use Doctrine\Common\Lexer\AbstractLexer from doctrine/lexer package instead.
when I change in icomefromthenet\reverse-regex\src\ReverseRegex\Lexer.php the line use \Doctrine\Common\Lexer as BaseLexer; by use \Doctrine\Common\Lexer\AbstractLexer as BaseLexer; , it's seems to work and the php error doesn't appear in log.
Please consider to fix that in a future release.
The text was updated successfully, but these errors were encountered: