Skip to content

Commit

Permalink
Merge pull request #35 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
JaZo authored Mar 27, 2024
2 parents 343a9b5 + 6439d73 commit 09b73a9
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 15 deletions.
42 changes: 31 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Run tests

on: [ push, pull_request ]
on:
- push
- pull_request

jobs:
php-tests:
Expand All @@ -9,22 +11,40 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.4', '8.0', '8.1' ]
laravel: [ '6.*', '7.*', '8.*', '9.*', '10.*' ]
stability: [ prefer-lowest, prefer-stable ]
php: ['7.4', '8.0', '8.1', '8.2', '8.3']
laravel: ['6.*', '7.*', '8.*', '9.*', '10.*', '11.*']
stability: [prefer-lowest, prefer-stable]
exclude:
- laravel: '6.*'
- laravel: 6.*
php: '8.1'
- laravel: '7.*'
- laravel: 6.*
php: '8.2'
- laravel: 6.*
php: '8.3'
- laravel: 7.*
php: '8.1'
- laravel: '8.*'
php: '8.1'
- laravel: '9.*'
- laravel: 7.*
php: '8.2'
- laravel: 7.*
php: '8.3'
- laravel: 8.*
php: '8.2'
- laravel: 8.*
php: '8.3'
- laravel: 9.*
php: '7.4'
- laravel: 9.*
php: '8.3'
- laravel: 10.*
php: '7.4'
- laravel: '10.*'
- laravel: 10.*
php: '8.0'
- laravel: 11.*
php: '7.4'
- laravel: '10.*'
- laravel: 11.*
php: '8.0'
- laravel: 11.*
php: '8.1'

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
],
"require": {
"php": "^7.4|^8.0",
"illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0"
"illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
Expand Down

0 comments on commit 09b73a9

Please sign in to comment.