1
0
Fork 0
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:
lukinovec 2023-02-16 11:38:04 +01:00 committed by GitHub
parent 263e0aa1cb
commit 118981f8df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View file

@ -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"

View file

@ -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": {

View file

@ -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);
} }