[PR #7451] Fix failing tests. Remove useless mock #10496

Closed
opened 2026-01-22 16:07:45 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: No


  • this mock didn't work well before because phpunit didn't mock method addDefaultDiscriminatorMap.
  • since phpunit 7.4.0 it throws warning in case of mocking method which is not really mocked (sebastianbergmann/phpunit#3127)
**Original Pull Request:** https://github.com/doctrine/orm/pull/7451 **State:** closed **Merged:** No --- - this mock didn't work well before because phpunit didn't mock method addDefaultDiscriminatorMap. - since phpunit 7.4.0 it throws warning in case of mocking method which is not really mocked (sebastianbergmann/phpunit#3127)
admin added the pull-request label 2026-01-22 16:07:45 +01:00
admin closed this issue 2026-01-22 16:07:45 +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#10496