Skip to content

Commit

Permalink
Laravel 10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
bastien-phi committed Feb 3, 2023
1 parent 0f8ee6e commit 1809f8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.1, 8.2]
laravel: [9.*]
laravel: [9.*, 10.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
exclude:
- php: 8.2
laravel: 9.*
stability: prefer-lowest

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"require": {
"php": "^8.1",
"composer-runtime-api": "^2.0",
"illuminate/console": "^9.0",
"illuminate/contracts": "^9.0",
"illuminate/filesystem": "^9.0",
"illuminate/support": "^9.0",
"illuminate/console": "^9.0 || ^10.0",
"illuminate/contracts": "^9.0 || ^10.0",
"illuminate/filesystem": "^9.0 || ^10.0",
"illuminate/support": "^9.0 || ^10.0",
"phpstan/phpdoc-parser": "^1.2.0",
"soyhuce/classmap-generator": "^1.0",
"spatie/fork": "^1.1",
Expand All @@ -31,7 +31,7 @@
"friendsofphp/php-cs-fixer": "^3.7",
"nunomaduro/collision": "^6.0",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^7.0",
"orchestra/testbench": "^7.0 || ^8.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"phpstan/extension-installer": "^1.1",
Expand All @@ -54,7 +54,7 @@
}
},
"scripts": {
"cs": "vendor/bin/php-cs-fixer fix",
"cs": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix",
"analyse": "vendor/bin/phpstan analyse",
"test": "vendor/bin/pest",
"test-coverage": "vendor/bin/pest --coverage",
Expand Down

0 comments on commit 1809f8b

Please sign in to comment.