Skip to content

Commit

Permalink
Merge pull request #70 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
tcampbPPU authored Mar 14, 2024
2 parents 85bf022 + fc723d6 commit cf50033
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
pull_request:
schedule:
- cron: "0 0 * * 0" # Once a Week on first day of week at 00:00
- cron: '0 0 * * 0'

jobs:
tests:
Expand All @@ -15,13 +15,18 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.1, 8.2, 8.3]
laravel: [9.*, 10.*]
laravel: ['9.*', '10.*', '11.*']
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 11.*
php: 8.1

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
],
"require": {
"php": "^8.1",
"illuminate/support": "^10.0.0",
"illuminate/database": "^10.0.0",
"illuminate/console": "^10.0.0"
"illuminate/support": "^10.0.0|^11.0",
"illuminate/database": "^10.0.0|^11.0",
"illuminate/console": "^10.0.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^8.0",
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^10.0",
"laravel/pint": "^1.7",
"nunomaduro/larastan": "^2.2",
Expand Down

0 comments on commit cf50033

Please # to comment.