From 3aca4f8e053d429c9972b07ebbee044a4fe79608 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Fri, 6 Oct 2023 13:38:06 +0200 Subject: [PATCH] Sync with PHPUnit 10.4 --- composer.json | 2 +- tests/MockObjectComparatorTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index a53ecba..1886cbb 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "ext-mbstring": "*" }, "require-dev": { - "phpunit/phpunit": "^10.3" + "phpunit/phpunit": "^10.4" }, "config": { "platform": { diff --git a/tests/MockObjectComparatorTest.php b/tests/MockObjectComparatorTest.php index 0188ab8..61be82c 100644 --- a/tests/MockObjectComparatorTest.php +++ b/tests/MockObjectComparatorTest.php @@ -161,6 +161,6 @@ private static function createMockForComparatorTest(string $type, array $constru { $generator = new Generator; - return $generator->getMock($type, null, $constructorArguments); + return $generator->testDouble($type, true, null, $constructorArguments); } }