From 013861295987cc5f5e981264b6f78018de44f6e9 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Wed, 11 Jun 2025 20:30:38 -0400 Subject: [PATCH 1/2] build: move to phpstan v2 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b5747463..1e4771fb 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "pestphp/pest": "^3.8.2|^4.0.0", "pestphp/pest-plugin-arch": "^3.1.1|^4.0.0", "pestphp/pest-plugin-type-coverage": "^3.5.1|^4.0.0", - "phpstan/phpstan": "^1.12.25", + "phpstan/phpstan": "^2.1.17", "symfony/var-dumper": "^7.2.6" }, "autoload": { From 2c1502a8b4cf58630ca3c0acd210e3ba52a9d454 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Wed, 11 Jun 2025 20:30:46 -0400 Subject: [PATCH 2/2] chore: static fixes --- src/ValueObjects/Transporter/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ValueObjects/Transporter/Response.php b/src/ValueObjects/Transporter/Response.php index 1645ab44..3c77bd2c 100644 --- a/src/ValueObjects/Transporter/Response.php +++ b/src/ValueObjects/Transporter/Response.php @@ -7,7 +7,7 @@ use OpenAI\Responses\Meta\MetaInformation; /** - * @template-covariant TData of array|string + * @template TData of array|string * * @internal */