Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 11.x Compatibility #58

Merged
merged 6 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,52 @@ on:
push:
branches:
- main

pull_request:
types: [ opened, synchronize, reopened ]
types:
- opened
- synchronize
- reopened

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: [ 7.4, 8.0, 8.1, 8.2 ]
laravel: [ 8.*, 9.* , 10.*]
dependency-version: [ prefer-lowest, prefer-stable ]
php: [7.4, 8.0, 8.1, 8.2]
laravel: ['8.*', '9.*', '10.*', '11.*']
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 8.*
testbench: 6.*
- laravel: 9.*
testbench: 7.*

- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 10.*
php: 7.3
- laravel: 10.*
php: 7.4
- laravel: 10.*
php: 8.0

# PHP 8.1 requires Laravel 8.65, so skip lowest
- laravel: 8.*
php: 8.1
dependency-version: prefer-lowest

# PHP 8.2 requires Laravel 8.65, so skip lowest
- laravel: 8.*
php: 8.2
dependency-version: prefer-lowest

- laravel: 9.*
php: 7.4
- laravel: 11.*
php: 7.4
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

name: P${{ matrix.php }} / L${{ matrix.laravel }} / ${{ matrix.dependency-version }}

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
],
"require": {
"php": "^7.4|^8.0",
"illuminate/database": "^8.37|^9.0|^10.0"
"illuminate/database": "^8.37|^9.0|^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^6|^7|^8.0",
"orchestra/testbench": "^6|^7|^8.0|^9.0",
"mockery/mockery": "^1.3.3",
"phpunit/phpunit": ">=8.5.23|^9",
"laravel/scout": "^9.4"
"laravel/scout": "^9.4|^10.8"
},
"autoload": {
"psr-4": {
Expand Down
Loading