From 1d46ac38ab34cfb512d8c5e17c055c781d39d721 Mon Sep 17 00:00:00 2001 From: Jordy Van der Haegen Date: Tue, 26 Nov 2024 22:33:14 +0100 Subject: [PATCH 1/2] chore: update PHP and Laravel version requirements Previous (unsupported) versions were kept in the composer.json file. These version constraints are now aligned with what is mentioned in the README and the run-tests action. --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index aed23a8..cd4bf0a 100644 --- a/composer.json +++ b/composer.json @@ -16,12 +16,12 @@ } ], "require": { - "php": ">=7.1.0", - "laravel/framework": "~5.2.0||~5.3.0||~5.4.0||~5.5.0||~5.6.0||~5.7.0||~5.8.0||^6.0||^7.0||^8.0||^9.0|^10.0||^11.0" + "php": "^8.2", + "laravel/framework": "^10.0|^11.0" }, "require-dev": { - "orchestra/testbench-browser-kit": "~3.4|~3.8|~4.0|^7.12|^8.5|^9.0", - "phpunit/phpunit": "6.0.*|^8.0|^9.5.10|^10.0" + "orchestra/testbench-browser-kit": "^8.5|^9.0", + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-intl": "*" From 87ed2c4bc6b8be22b57ad2531be5049d0c7087ad Mon Sep 17 00:00:00 2001 From: Jordy Van der Haegen Date: Tue, 26 Nov 2024 22:36:39 +0100 Subject: [PATCH 2/2] chore: prevent prefer-lowest tests from failing due to PHPUnit 10 deprecations --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index cd4bf0a..5af85fb 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ }, "require-dev": { "orchestra/testbench-browser-kit": "^8.5|^9.0", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^9.5.10|^10.0" }, "suggest": { "ext-intl": "*"