From 1eadcb4d229ece7a39032aec22da5cfe97239e79 Mon Sep 17 00:00:00 2001 From: core23 Date: Sat, 4 Apr 2026 14:48:18 +0200 Subject: [PATCH] Use phpunit 13 where possible --- tests/Wrapper/DompdfWrapperTest.php | 2 +- vendor-bin/tools/composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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": {