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

Error : Class 'Doctrine\Common\Lexer' not found #9

Open
Ekion-1 opened this issue Oct 24, 2020 · 2 comments
Open

Error : Class 'Doctrine\Common\Lexer' not found #9

Ekion-1 opened this issue Oct 24, 2020 · 2 comments

Comments

@Ekion-1
Copy link

Ekion-1 commented Oct 24, 2020

I'm receiving this error when trying to call $lexer = new Lexer($prefixData[$loopCounter]->regex);. Is this a known issue?

@Ekion-1
Copy link
Author

Ekion-1 commented Oct 24, 2020

It appears as though the import in Lexer.php should be

use Doctrine\Common\Lexer\AbstractLexer as BaseLexer;

instead of

use Doctrine\Common\Lexer as BaseLexer;

@christianabila
Copy link

Error still persists on dev-master

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

2 participants