diff --git a/tests/Wrapper/DompdfWrapperTest.php b/tests/Wrapper/DompdfWrapperTest.php index 5204bc9..e92208b 100644 --- a/tests/Wrapper/DompdfWrapperTest.php +++ b/tests/Wrapper/DompdfWrapperTest.php @@ -80,7 +80,7 @@ public function testStreamHtmlWithImg(): void $output = "

Foo

Bar baz"; $this->dompdfFactory - ->method('create') + ->expects(self::once())->method('create') ->with(self::equalTo(['tempDir' => 'bar'])) ->willReturn($this->dompdf) ; diff --git a/vendor-bin/tools/composer.json b/vendor-bin/tools/composer.json index c4fb019..89e508f 100644 --- a/vendor-bin/tools/composer.json +++ b/vendor-bin/tools/composer.json @@ -13,7 +13,7 @@ "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", "phpstan/phpstan-symfony": "^2.0", - "phpunit/phpunit": "^12.0", + "phpunit/phpunit": "^12.0.0 || ^13.0.0", "symfony/phpunit-bridge": "^8.0" }, "config": {