diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e38ebe9..2bc1670 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - laravel: [6, 8, 9] + laravel: [9, 10] steps: - name: Checkout code @@ -26,7 +26,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: '8.1' - name: Install dependencies run: composer require "laravel/framework:^${{matrix.laravel}}.0" diff --git a/composer.json b/composer.json index 9de017e..b6b0243 100644 --- a/composer.json +++ b/composer.json @@ -16,12 +16,12 @@ } }, "require": { - "illuminate/translation": "^6.0|^8.0|^9.0" + "illuminate/translation": "^9.0|^10.0" }, "require-dev": { - "orchestra/testbench": "^4.0|^6.0|^7.0", + "orchestra/testbench": "^7.0|^8.0", "phpunit/phpunit": "^9.5", - "nunomaduro/larastan": "^1.0" + "nunomaduro/larastan": "^2.4" }, "extra": { "laravel": { diff --git a/tests/TestCase.php b/tests/TestCase.php index dd6102e..ab7fc76 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -11,6 +11,7 @@ class TestCase extends \Orchestra\Testbench\TestCase { parent::setUp(); + // @phpstan-ignore-next-line $this->app->bind('translation.loader', GlossLoader::class); }