-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Undefined constant PhpParser\Node\Expr\List_::KIND_LIST #1023
Comments
Which version of this library do you have installed? |
@xabbuh nikic/php-parser 5.1.0 |
The constant is defined in that version:
Maybe you have different versions installed and autoloading mixes files from different versions. |
Not sure about that because it happened both in my local env and bitbucket-pipelines using 5.1.0 |
This might happen when e.g. PHPStan or Rector or similar tools include a nikc/php-parser version in .phar files and you install a incompatible version in top |
pestphp/pest#1244
The text was updated successfully, but these errors were encountered: