Skip to content

Commit

Permalink
Add support for Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Mar 7, 2024
1 parent 31e6c6c commit cc33a01
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ jobs:
strategy:
fail-fast: true
matrix:
php: ['8.1', '8.2']
laravel: ['10.*']
php: ['8.1', '8.2', '8.3']
laravel: ['10.*', '11.*']
composer-flags: ['--prefer-stable']
can-fail: [false]
include:
- php: '8.1'
laravel: '10.*'
composer-flags: '--prefer-stable --prefer-lowest'
can-fail: false
exclude:
- php: '8.1'
laravel: '11.*'

name: "PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}"

Expand Down
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
"require": {
"php": "^8.1",
"facade/ignition-contracts": "^1.0",
"illuminate/collections": "^10.0",
"illuminate/events": "^10.0",
"illuminate/filesystem": "^10.0",
"illuminate/routing": "^10.0",
"illuminate/support": "^10.0",
"illuminate/view": "^10.0"
"illuminate/collections": "^10.0 || ^11.0",
"illuminate/events": "^10.0 || ^11.0",
"illuminate/filesystem": "^10.0 || ^11.0",
"illuminate/routing": "^10.0 || ^11.0",
"illuminate/support": "^10.0 || ^11.0",
"illuminate/view": "^10.0 || ^11.0"
},
"require-dev": {
"laravel/framework": "^10.0",
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^10.0",
"laravel/framework": "^10.0 || ^11.0",
"orchestra/testbench": "^8.0 || ^9.0",
"phpunit/phpunit": "^10.0 || ^11.0",
"spatie/phpunit-snapshot-assertions": "^5.0"
},
"autoload": {
Expand Down

0 comments on commit cc33a01

Please sign in to comment.