Unit tests: cleanup of outdated / unused / commented out code #579

merged 1 commit into from Mar 12, 2013


None yet

3 participants


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 parameters that its parent did not define, and that were never used, so I removed them as well.


thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:


@beberlei beberlei merged commit dba63c5 into doctrine:master Mar 12, 2013

1 check passed

default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment