From 7bc0b1dd46837f80c62a3268918212a4ce8ad173 Mon Sep 17 00:00:00 2001 From: Christopher Fuchs Date: Mon, 21 Oct 2024 22:03:47 +0200 Subject: [PATCH] Add support for laravel 10 --- composer.json | 14 +++++++------- tests/TestCase.php | 2 +- tests/TranslationDatabaseTest.php | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 6a378e0..fb8ee1f 100644 --- a/composer.json +++ b/composer.json @@ -26,16 +26,16 @@ ] }, "require": { - "php": ">=7.4.0", + "php": ">=7.4.0|^8.2|^8.3", "ext-intl": "*", - "illuminate/support": "^8", - "illuminate/translation": "^8", - "illuminate/validation": "^8" + "illuminate/support": "^8|^9|^10|^11", + "illuminate/translation": "^8|^9|^10|^11", + "illuminate/validation": "^8|^9|^10|^11" }, "require-dev": { - "orchestra/testbench": "6.2.0", - "phpunit/phpunit": "^9.0", - "friendsofphp/php-cs-fixer": "^2.16" + "orchestra/testbench": "9.5.2", + "phpunit/phpunit": "^10", + "friendsofphp/php-cs-fixer": "^3.64" }, "scripts": { "lint-fix": "php vendor/bin/php-cs-fixer fix --config=.php_cs", diff --git a/tests/TestCase.php b/tests/TestCase.php index acfe98a..dac03f0 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -13,7 +13,7 @@ class TestCase extends Orchestra\Testbench\TestCase { protected ?string $fixturesPath; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/TranslationDatabaseTest.php b/tests/TranslationDatabaseTest.php index 4e18f2b..5a31c00 100644 --- a/tests/TranslationDatabaseTest.php +++ b/tests/TranslationDatabaseTest.php @@ -11,7 +11,7 @@ */ class TranslationDatabaseTest extends TestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();