Skip to content
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

Open
LailaMai opened this issue Feb 14, 2019 · 0 comments
Open

Doctrine\Common\Lexer is deprecated. #8

LailaMai opened this issue Feb 14, 2019 · 0 comments

Comments

@LailaMai
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant