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); } }