[PR #7986] Fix issues detected by psalm #10749

Open
opened 2026-01-22 16:08:33 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/7986

State: closed
Merged: No


Hi,

This PR is the result of fixing easy issues from the two first levels of Psalm.

This is the starting point of trying to begin #7762. If this goes smoothly, my goal is to continue fixing errors by slowly increasing the Psalm's levels. Eventually, the idea would be to add Psalm to the CI and to add template annotation to interfaces and exposed classes to help tools like phpstan and psalm understand Doctrine without the need of stubs or plugins.

I'm always trying to learn so don't hesitate to ask for changes or anything!

Thanks!

**Original Pull Request:** https://github.com/doctrine/orm/pull/7986 **State:** closed **Merged:** No --- Hi, This PR is the result of fixing easy issues from the two first levels of Psalm. This is the starting point of trying to begin #7762. If this goes smoothly, my goal is to continue fixing errors by slowly increasing the Psalm's levels. Eventually, the idea would be to add Psalm to the CI and to add template annotation to interfaces and exposed classes to help tools like phpstan and psalm understand Doctrine without the need of stubs or plugins. I'm always trying to learn so don't hesitate to ask for changes or anything! Thanks!
admin added the pull-request label 2026-01-22 16:08:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#10749