diff --git a/composer.json b/composer.json index f6506f194..d2e70db6b 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ ], "require-dev": { "phpbench/phpbench": "^1.6.1", - "phpunit/phpunit": "^13.1.4" + "phpunit/phpunit": "^13.1.5" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index cb9a514d7..57233fa68 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a90d2dd0c755c531bc82c223d438f307", + "content-hash": "097484d0c651864e59034ceb4a2f0095", "packages": [ { "name": "jetbrains/phpstorm-stubs", @@ -594,16 +594,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "14.1.1", + "version": "14.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "c875dc3bc9551710bda98938e3557c6987307831" + "reference": "c9023486f88a48dd870361591bd7caef6d2406c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c875dc3bc9551710bda98938e3557c6987307831", - "reference": "c875dc3bc9551710bda98938e3557c6987307831", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c9023486f88a48dd870361591bd7caef6d2406c3", + "reference": "c9023486f88a48dd870361591bd7caef6d2406c3", "shasum": "" }, "require": { @@ -659,7 +659,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/14.1.1" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/14.1.2" }, "funding": [ { @@ -679,7 +679,7 @@ "type": "tidelift" } ], - "time": "2026-04-13T04:55:38+00:00" + "time": "2026-04-15T08:27:13+00:00" }, { "name": "phpunit/php-file-iterator", @@ -976,16 +976,16 @@ }, { "name": "phpunit/phpunit", - "version": "13.1.4", + "version": "13.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "f51a678e41401c9b3eb3d3e506c054fee215dd93" + "reference": "89adcba73441b38db31d5c0473b61e2907311db0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f51a678e41401c9b3eb3d3e506c054fee215dd93", - "reference": "f51a678e41401c9b3eb3d3e506c054fee215dd93", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/89adcba73441b38db31d5c0473b61e2907311db0", + "reference": "89adcba73441b38db31d5c0473b61e2907311db0", "shasum": "" }, "require": { @@ -999,7 +999,7 @@ "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=8.4.1", - "phpunit/php-code-coverage": "^14.1.1", + "phpunit/php-code-coverage": "^14.1.2", "phpunit/php-file-iterator": "^7.0.0", "phpunit/php-invoker": "^7.0.0", "phpunit/php-text-template": "^6.0.0", @@ -1007,8 +1007,8 @@ "sebastian/cli-parser": "^5.0.0", "sebastian/comparator": "^8.1.2", "sebastian/diff": "^8.1.0", - "sebastian/environment": "^9.2.0", - "sebastian/exporter": "^8.0.1", + "sebastian/environment": "^9.3.0", + "sebastian/exporter": "^8.0.2", "sebastian/git-state": "^1.0", "sebastian/global-state": "^9.0.0", "sebastian/object-enumerator": "^8.0.0", @@ -1055,7 +1055,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/13.1.4" + "source": "https://github.com/sebastianbergmann/phpunit/tree/13.1.5" }, "funding": [ { @@ -1063,7 +1063,7 @@ "type": "other" } ], - "time": "2026-04-15T05:07:43+00:00" + "time": "2026-04-16T04:58:40+00:00" }, { "name": "psr/cache", @@ -1529,16 +1529,16 @@ }, { "name": "sebastian/environment", - "version": "9.2.0", + "version": "9.3.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "c0964f624fcac84e318fc9ef0193cbb9809a331a" + "reference": "6767059a30e4277ac95ee034809e793528464768" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/c0964f624fcac84e318fc9ef0193cbb9809a331a", - "reference": "c0964f624fcac84e318fc9ef0193cbb9809a331a", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6767059a30e4277ac95ee034809e793528464768", + "reference": "6767059a30e4277ac95ee034809e793528464768", "shasum": "" }, "require": { @@ -1553,7 +1553,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "9.2-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -1581,7 +1581,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", "security": "https://github.com/sebastianbergmann/environment/security/policy", - "source": "https://github.com/sebastianbergmann/environment/tree/9.2.0" + "source": "https://github.com/sebastianbergmann/environment/tree/9.3.0" }, "funding": [ { @@ -1601,20 +1601,20 @@ "type": "tidelift" } ], - "time": "2026-04-05T07:07:20+00:00" + "time": "2026-04-15T12:14:03+00:00" }, { "name": "sebastian/exporter", - "version": "8.0.1", + "version": "8.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "40801a527c8c3eaed8aa7f95ab7f144599bb1854" + "reference": "9cee180ebe62259e3ed48df2212d1fc8cfd971bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/40801a527c8c3eaed8aa7f95ab7f144599bb1854", - "reference": "40801a527c8c3eaed8aa7f95ab7f144599bb1854", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/9cee180ebe62259e3ed48df2212d1fc8cfd971bb", + "reference": "9cee180ebe62259e3ed48df2212d1fc8cfd971bb", "shasum": "" }, "require": { @@ -1671,7 +1671,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/8.0.1" + "source": "https://github.com/sebastianbergmann/exporter/tree/8.0.2" }, "funding": [ { @@ -1691,7 +1691,7 @@ "type": "tidelift" } ], - "time": "2026-04-10T12:56:23+00:00" + "time": "2026-04-15T12:38:05+00:00" }, { "name": "sebastian/git-state", diff --git a/test/unit/Reflection/Adapter/ReflectionPropertyTest.php b/test/unit/Reflection/Adapter/ReflectionPropertyTest.php index 1b0d694c5..c95e1f98b 100644 --- a/test/unit/Reflection/Adapter/ReflectionPropertyTest.php +++ b/test/unit/Reflection/Adapter/ReflectionPropertyTest.php @@ -511,7 +511,7 @@ public function testSkipLazyInitialization(): void $reflectionPropertyAdapter->skipLazyInitialization(new stdClass()); } - #[RequiresPhp('>=8.4')] + #[RequiresPhp('>=8.4.0')] public function testHasAndGetHookWhenNoHooks(): void { $betterReflectionProperty = self::createStub(BetterReflectionProperty::class); @@ -527,7 +527,7 @@ public function testHasAndGetHookWhenNoHooks(): void self::assertNull($reflectionPropertyAdapter->getHook(PropertyHookType::Get)); } - #[RequiresPhp('>=8.4')] + #[RequiresPhp('>=8.4.0')] public function testHasAndGetHook(): void { $betterReflectionProperty = self::createStub(BetterReflectionProperty::class); diff --git a/test/unit/SourceLocator/SourceStubber/ReflectionSourceStubberTest.php b/test/unit/SourceLocator/SourceStubber/ReflectionSourceStubberTest.php index 7b3f25572..28557a130 100644 --- a/test/unit/SourceLocator/SourceStubber/ReflectionSourceStubberTest.php +++ b/test/unit/SourceLocator/SourceStubber/ReflectionSourceStubberTest.php @@ -116,7 +116,7 @@ public function testCanStubTraits(): void self::assertNull($stubData->getExtensionName()); } - #[RequiresPhp('<8.5')] + #[RequiresPhp('<8.5.0')] public function testClassStub(): void { require_once __DIR__ . '/../../Fixture/ClassForSourceStubber.php'; @@ -189,7 +189,7 @@ public function testClassStubWithTypedConstants(): void self::assertStringEqualsFile(__DIR__ . '/../../Fixture/PHP83ClassForSourceStubberExpected.php', $stubData->getStub()); } - #[RequiresPhp('>=8.5')] + #[RequiresPhp('>=8.5.0')] public function testClassStubWithPHP85Changes(): void { require_once __DIR__ . '/../../Fixture/PHP85ClassForSourceStubber.php'; diff --git a/tools/composer.json b/tools/composer.json index b20ee5765..ef1980b32 100644 --- a/tools/composer.json +++ b/tools/composer.json @@ -2,7 +2,7 @@ "require": { "doctrine/coding-standard": "^14.0.0", "infection/infection": "^0.32.6", - "phpstan/phpstan": "^2.1.47", + "phpstan/phpstan": "^2.1.48", "phpstan/phpstan-phpunit": "^2.0.16", "vimeo/psalm": "^6.16.1", "roave/backward-compatibility-check": "^8.20.0" diff --git a/tools/composer.lock b/tools/composer.lock index 8df6420a4..bf3302940 100644 --- a/tools/composer.lock +++ b/tools/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "86cb967e48128a523f67faff3694ac25", + "content-hash": "bd93b7145f92e362f52dec2b15930bf0", "packages": [ { "name": "amphp/amp", @@ -5124,11 +5124,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.47", + "version": "2.1.48", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/79015445d8bd79e62b29140f12e5bfced1dcca65", - "reference": "79015445d8bd79e62b29140f12e5bfced1dcca65", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/231397213efb7c0a066ee024b5c3c87f2d3adfa0", + "reference": "231397213efb7c0a066ee024b5c3c87f2d3adfa0", "shasum": "" }, "require": { @@ -5173,7 +5173,7 @@ "type": "github" } ], - "time": "2026-04-13T15:49:08+00:00" + "time": "2026-04-15T20:24:19+00:00" }, { "name": "phpstan/phpstan-phpunit",