We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
phpstan/phpstan:1.6.4 phpstan/phpstan-doctrine:1.3.3
It appears that a change in the doctrine/orm 2.12.2 Entity annotation/attribute generics now reports an error:
Parameter $repositoryClass of attribute class Entity constructor expects class-string<EntityRepository<T of object>>|null, 'AdminRepository' given.
where in 2.12.1 it doesn't.
https://phpstan.org/r/c0f62d67-f938-40f0-9834-87b7f045e612
The text was updated successfully, but these errors were encountered:
commit doctrine/orm@a8425a5 breaks it.
Sorry, something went wrong.
Fixed: phpstan/phpstan-src@361e064
Fix released in PHPStan 1.6.8: https://github.com/phpstan/phpstan/releases/tag/1.6.8
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
phpstan/phpstan:1.6.4
phpstan/phpstan-doctrine:1.3.3
It appears that a change in the doctrine/orm 2.12.2 Entity annotation/attribute generics now reports an error:
Parameter $repositoryClass of attribute class Entity constructor expects class-string<EntityRepository<T of object>>|null, 'AdminRepository' given.
where in 2.12.1 it doesn't.
https://phpstan.org/r/c0f62d67-f938-40f0-9834-87b7f045e612
The text was updated successfully, but these errors were encountered: