[PR #9715] Remove some mock classes #11822

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

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

State: closed
Merged: Yes


  1. Use PHPUnit to generate mock results in unit tests.
  2. Move ArrayResultFactory from Doctrine\Tests\Mocks to Doctrine\Performance.
  3. Use a real connection and the SQLite driver to generate mock results for PHPBench.
  4. Remove the DriverConnectionMock, DriverMock and StatementMock classes.
**Original Pull Request:** https://github.com/doctrine/orm/pull/9715 **State:** closed **Merged:** Yes --- 1. Use PHPUnit to generate mock results in unit tests. 2. Move `ArrayResultFactory` from `Doctrine\Tests\Mocks` to `Doctrine\Performance`. 3. Use a real connection and the SQLite driver to generate mock results for PHPBench. 4. Remove the `DriverConnectionMock`, `DriverMock` and `StatementMock` classes.
admin added the pull-request label 2026-01-22 16:12:01 +01:00
admin closed this issue 2026-01-22 16:12:02 +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#11822