mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #6440] Initial PHPStan integration #9983
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/6440
State: closed
Merged: No
This is a starting point to begin using static analysis in Doctrine ORM codebase. PHPStan is already used by doctrine/common and doctrine/annotations so I think it's logical that the ORM repo starts using it too :)
The build will now fail, I wasn't sure what to do about this one error:
The method has no tests and no usage in the project, so I'm really not sure what it's supposed to return.
After you merge this, I can spread the analysis to tests and also increase the level of the analysis to find more errors.