diff --git a/CHANGELOG.md b/CHANGELOG.md index 765e09f..25d65fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [Unreleased] + +### Added + +- Support for PHPUnit `13` + ## 6.9.0 - 2026-01-18 ### Added diff --git a/composer.json b/composer.json index 13f51f2..486c345 100644 --- a/composer.json +++ b/composer.json @@ -17,9 +17,9 @@ "require": { "php": "~8.2", "symfony/var-dumper": "~6.0|~7.0|~8.0", - "phpunit/phpunit": "~10.0|~11.0|~12.0", - "phpunit/php-timer": "~6.0|~7.0|~8.0", - "phpunit/php-code-coverage": "~10.1|~11.0|~12.0" + "phpunit/phpunit": "~10.0|~11.0|~12.0|~13.0", + "phpunit/php-timer": "~6.0|~7.0|~8.0|~9.0", + "phpunit/php-code-coverage": "~10.1|~11.0|~12.0|~13.0" }, "autoload": { "psr-4": { diff --git a/tests/Set/CompositeTest.php b/tests/Set/CompositeTest.php index bb1b850..b776513 100644 --- a/tests/Set/CompositeTest.php +++ b/tests/Set/CompositeTest.php @@ -43,7 +43,8 @@ public function testImmutable() $this->assertInstanceOf( Set::class, Composite::immutable( - static function() {}, + static function() { + }, FromGenerator::of(static function() { yield 'e'; yield 'f'; diff --git a/tests/Set/DecorateTest.php b/tests/Set/DecorateTest.php index 884bd1e..e4b1d47 100644 --- a/tests/Set/DecorateTest.php +++ b/tests/Set/DecorateTest.php @@ -40,7 +40,8 @@ public function testImmutable() $this->assertInstanceOf( Set::class, Decorate::immutable( - static function() {}, + static function() { + }, FromGenerator::of(static function() { yield 'e'; yield 'f'; diff --git a/tests/Set/FromGeneratorTest.php b/tests/Set/FromGeneratorTest.php index 50ee245..dc93f58 100644 --- a/tests/Set/FromGeneratorTest.php +++ b/tests/Set/FromGeneratorTest.php @@ -28,7 +28,8 @@ public function testThrowWhenTheCallableDoesntReturnAGenerator() $this->expectException(\TypeError::class); $this->expectExceptionMessage('Argument 1 must be of type callable(): \Generator'); - FromGenerator::of(static function() {}); + FromGenerator::of(static function() { + }); } public function testTake()