mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2294: [GH-579] Unit tests: cleanup of outdated / unused / commented out code #2879
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?
Originally created by @doctrinebot on GitHub (Feb 12, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
This issue is created automatically through a Github pull request on behalf of BenMorel:
Url: https://github.com/doctrine/doctrine2/pull/579
Message:
Many methods in unit tests were unused, in particular in mocks, where methods overriding in the past were not overriding anything anymore.
Some commented out code was referring to features that seem to have been removed years ago, so I removed it as well.
HydratorMockStatement::bindParam()was adding extra parameter that its parent did not define, and that were never used, so I removed them as well.