Skip to content

Commit 118981f

Browse files
authored
Add L10 support, remove L6 and L8 support (#4)
* Add L10 support, remove L6 and L8 support * Fix PHPStan issue * Ignore PHPStan error
1 parent 263e0aa commit 118981f

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
laravel: [6, 8, 9]
20+
laravel: [9, 10]
2121

2222
steps:
2323
- name: Checkout code
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup PHP
2727
uses: shivammathur/setup-php@v2
2828
with:
29-
php-version: '8.0'
29+
php-version: '8.1'
3030

3131
- name: Install dependencies
3232
run: composer require "laravel/framework:^${{matrix.laravel}}.0"

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717
},
1818
"require": {
19-
"illuminate/translation": "^6.0|^8.0|^9.0"
19+
"illuminate/translation": "^9.0|^10.0"
2020
},
2121
"require-dev": {
22-
"orchestra/testbench": "^4.0|^6.0|^7.0",
22+
"orchestra/testbench": "^7.0|^8.0",
2323
"phpunit/phpunit": "^9.5",
24-
"nunomaduro/larastan": "^1.0"
24+
"nunomaduro/larastan": "^2.4"
2525
},
2626
"extra": {
2727
"laravel": {

tests/TestCase.php

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public function setUp(): void
1111
{
1212
parent::setUp();
1313

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

0 commit comments

Comments
 (0)