Fix CliTestUtils for PHPUnit 10.4

This commit is contained in:
Alejandro Celaya 2023-10-07 10:56:04 +02:00
parent 57053d66a4
commit 3bdc05fbc4
2 changed files with 3 additions and 2 deletions

View File

@ -72,7 +72,7 @@
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-symfony": "^1.3",
"phpunit/php-code-coverage": "^10.1",
"phpunit/phpunit": "^10.3",
"phpunit/phpunit": "^10.4",
"roave/security-advisories": "dev-master",
"shlinkio/php-coding-standard": "~2.3.0",
"shlinkio/shlink-test-utils": "^3.7.1",

View File

@ -22,8 +22,9 @@ class CliTestUtils
$generator = new Generator();
}
$command = $generator->getMock(
$command = $generator->testDouble(
Command::class,
mockObject: true,
callOriginalConstructor: false,
callOriginalClone: false,
cloneArguments: false,