From e612bd40301e3f1d0ba7c127771fd2180fc1d549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Suwi=C5=84ski?= Date: Wed, 26 Feb 2025 16:47:38 +0100 Subject: [PATCH] bump illuminate/http version --- composer.json | 2 +- test/composer.json | 2 +- test/tests/LaravelMultipartRequestsTest.php | 1 - test/tests/SymfonyMultipartRequestsTest.php | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index f5c4096..425d4ed 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "require": { "php": ">=8.1", "notihnio/php-multipart-form-data-parser": "^2.1", - "illuminate/http": "^10.0" + "illuminate/http": "^10.0|^11.0|^12.0" }, "minimum-stability": "dev" } 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" }, diff --git a/test/tests/LaravelMultipartRequestsTest.php b/test/tests/LaravelMultipartRequestsTest.php index 208e1bc..856ac36 100644 --- a/test/tests/LaravelMultipartRequestsTest.php +++ b/test/tests/LaravelMultipartRequestsTest.php @@ -75,7 +75,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/SymfonyMultipartRequestsTest.php b/test/tests/SymfonyMultipartRequestsTest.php index 2f887ab..28a17d5 100644 --- a/test/tests/SymfonyMultipartRequestsTest.php +++ b/test/tests/SymfonyMultipartRequestsTest.php @@ -75,7 +75,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"]);