Skip to content

Commit

Permalink
Add L10 support, remove L6 and L8 support (#4)
Browse files Browse the repository at this point in the history
* Add L10 support, remove L6 and L8 support

* Fix PHPStan issue

* Ignore PHPStan error
  • Loading branch information
lukinovec authored Feb 16, 2023
1 parent 263e0aa commit 118981f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
laravel: [6, 8, 9]
laravel: [9, 10]

steps:
- name: Checkout code
Expand All @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 1 addition & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public function setUp(): void
{
parent::setUp();

// @phpstan-ignore-next-line
$this->app->bind('translation.loader', GlossLoader::class);
}

Expand Down

0 comments on commit 118981f

Please sign in to comment.