mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 03:04:04 +00:00
Add L10 support, remove L6 and L8 support (#4)
* Add L10 support, remove L6 and L8 support * Fix PHPStan issue * Ignore PHPStan error
This commit is contained in:
parent
263e0aa1cb
commit
118981f8df
3 changed files with 6 additions and 5 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
laravel: [6, 8, 9]
|
laravel: [9, 10]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '8.0'
|
php-version: '8.1'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
|
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"illuminate/translation": "^6.0|^8.0|^9.0"
|
"illuminate/translation": "^9.0|^10.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"orchestra/testbench": "^4.0|^6.0|^7.0",
|
"orchestra/testbench": "^7.0|^8.0",
|
||||||
"phpunit/phpunit": "^9.5",
|
"phpunit/phpunit": "^9.5",
|
||||||
"nunomaduro/larastan": "^1.0"
|
"nunomaduro/larastan": "^2.4"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"laravel": {
|
"laravel": {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ class TestCase extends \Orchestra\Testbench\TestCase
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
|
// @phpstan-ignore-next-line
|
||||||
$this->app->bind('translation.loader', GlossLoader::class);
|
$this->app->bind('translation.loader', GlossLoader::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue