-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix invalid psalm annotation #8374
Conversation
Thanks @micheh! |
@greg0ire Hi Greg, is there an idea when this will make it into a release? |
I think it will be released during this quarter. 🔮 |
While awaiting the release and for anyone else running into this issue, I ignored the error for now using: <!-- @TODO: Remove this when https://github.com/doctrine/orm/issues/8395 is resolved -->
<issueHandlers>
<InvalidDocblock>
<errorLevel type="info">
<file name="vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php" />
</errorLevel>
</InvalidDocblock>
</issueHandlers> |
@7ochem this is amazing ... just what I needed. I disabled psalm checks in our CI, now I can add them back, thank you so much |
Prediction fulfilled: https://github.com/doctrine/orm/releases/tag/2.8.2 |
The psalm annotation is currently invalid and psalm outputs an error:
ERROR: InvalidDocblock - vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:74:5 - Badly-formatted @param in docblock for Doctrine\ORM\EntityRepository::__construct (see https://psalm.dev/008)