For this we need these points solved: - [x] Migrate from annotation like `@covers` to attributes `#[CoversClass]` etc. Done in https://github.com/patchlevel/event-sourcing/pull/732 - [ ] Drop PHP 8.2 support - [x] Wait for prophecy support for PHPUnit 12 (https://github.com/phpspec/prophecy-phpunit/issues/68). The other solution is to remove the dependency and rely only on the mocking API from phpunit (PR for removal: https://github.com/patchlevel/event-sourcing/pull/738) - [ ] Fix deprecation about `addMethods` which was removed in PHPUnit 12 (https://github.com/sebastianbergmann/phpunit/issues/5320). We are using this method for testing a dedicated method of `PDO` when using `PostgreSQL`, `pgsqlGetNotify`. Ref: https://github.com/sebastianbergmann/phpunit/issues/5320#issuecomment-2020368838 Maybe there are other topics which needs to be done, these will be added then to the list.
For this we need these points solved:
@coversto attributes#[CoversClass]etc. Done in Migrate from PHPUnit phpdoc tags to attributes #732addMethodswhich was removed in PHPUnit 12 (DeprecateMockBuilder::addMethods()sebastianbergmann/phpunit#5320). We are using this method for testing a dedicated method ofPDOwhen usingPostgreSQL,pgsqlGetNotify. Ref: DeprecateMockBuilder::addMethods()sebastianbergmann/phpunit#5320 (comment)Maybe there are other topics which needs to be done, these will be added then to the list.