From 12a842f5a2cdd7cedd12accaa7890a589ed1faf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Suwi=C5=84ski?= Date: Wed, 26 Feb 2025 16:37:58 +0100 Subject: [PATCH 1/2] bump illuminate/http version --- composer.json | 2 +- test/tests/LaravelRequestsTest.php | 1 - test/tests/SymfonyRequestsTest.php | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/composer.json b/composer.json index cae5e3f..8a6afd4 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "require": { "php": ">=8.1", "ext-mbstring": "*", - "illuminate/http": "^10.0" + "illuminate/http": "^10.0|^11.0|^12.0" }, "minimum-stability": "dev" } diff --git a/test/tests/LaravelRequestsTest.php b/test/tests/LaravelRequestsTest.php index 1888b4d..31ecb04 100644 --- a/test/tests/LaravelRequestsTest.php +++ b/test/tests/LaravelRequestsTest.php @@ -71,7 +71,6 @@ public function testPostRequest(): void $responseData = json_decode($response->getBody(), true, 512, JSON_THROW_ON_ERROR); $this->assertCount(4, $responseData); - $this->assertCount(5, $responseData["files"]["iconFile"]); $this->assertEquals("icon.png", $responseData["files"]["iconFile"]["name"]); $this->assertEquals("image/png", $responseData["files"]["iconFile"]["type"]); $this->assertNotNull($responseData["files"]["iconFile"]["tmp_name"]); diff --git a/test/tests/SymfonyRequestsTest.php b/test/tests/SymfonyRequestsTest.php index 5099050..d877334 100644 --- a/test/tests/SymfonyRequestsTest.php +++ b/test/tests/SymfonyRequestsTest.php @@ -71,7 +71,6 @@ public function testPostRequest(): void $responseData = json_decode($response->getBody(), true, 512, JSON_THROW_ON_ERROR); $this->assertCount(4, $responseData); - $this->assertCount(5, $responseData["files"]["iconFile"]); $this->assertEquals("icon.png", $responseData["files"]["iconFile"]["name"]); $this->assertEquals("image/png", $responseData["files"]["iconFile"]["type"]); $this->assertNotNull($responseData["files"]["iconFile"]["tmp_name"]); From 072d401cb6bd9e9803787a2e9ac7141ef583f7ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Suwi=C5=84ski?= Date: Wed, 26 Feb 2025 16:55:31 +0100 Subject: [PATCH 2/2] bump illuminate/http version for tests --- test/composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/composer.json b/test/composer.json index 44ac7a6..f27400e 100644 --- a/test/composer.json +++ b/test/composer.json @@ -7,7 +7,7 @@ "require": { "php": ">=8.1", "notihnio/php-request-parser": "master", - "illuminate/http": "^10.0", + "illuminate/http": "^10.0|^11.0|^12.0", "phpunit/phpunit": "^9.0", "guzzlehttp/guzzle": "^7.0" },