mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 16:27:23 +01:00
feat: basic PHPUnit 10 support
This commit is contained in:
@ -41,6 +41,7 @@ final class AfterEachRepository
|
||||
|
||||
return ChainableClosure::from(function (): void {
|
||||
if (class_exists(Mockery::class)) {
|
||||
/* @phpstan-ignore-next-line */
|
||||
if ($container = Mockery::getContainer()) {
|
||||
/* @phpstan-ignore-next-line */
|
||||
$this->addToAssertionCount($container->mockery_getExpectationCount());
|
||||
|
||||
Reference in New Issue
Block a user