Skip to content

Commit

Permalink
Merge pull request #11 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
freekmurze authored Mar 8, 2024
2 parents 7b3ac4d + a0e9b01 commit 7b3edc8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@ name: run-tests

on:
push:
branches: [main]
branches:
- main
pull_request:
branches: [main]
branches:
- main

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.1, 8.0]
laravel: [9.*, 8.*, 10.*]
php: [8.0, 8.1, '8.2']
laravel: ['8.*', '9.*', '10.*', '11.*']
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
Expand All @@ -23,9 +26,15 @@ jobs:
testbench: 7.*
- laravel: 8.*
testbench: ^6.23
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 10.*
php: 8.0
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

Expand Down
17 changes: 8 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,19 @@
],
"require": {
"php": "^8.0",
"illuminate/console": "^8.46|^9.0|^10.0",
"illuminate/contracts": "^8.46|^9.0|^10.0",
"illuminate/console": "^8.46|^9.0|^10.0|^11.0",
"illuminate/contracts": "^8.46|^9.0|^10.0|^11.0",
"spatie/laravel-package-tools": "^1.4.3"
},
"require-dev": {
"brianium/paratest": "^6.2",
"nunomaduro/collision": "^5.3|^6.0",
"orchestra/testbench": "^6.15|^7.0|^8.0",
"pestphp/pest": "^1.22",
"phpunit/phpunit": "^9.3",
"brianium/paratest": "^6.2|^7.4",
"nunomaduro/collision": "^5.3|^6.0|^8.0",
"orchestra/testbench": "^6.15|^7.0|^8.0|^9.0",
"pestphp/pest": "^1.22|^2.34",
"phpunit/phpunit": "^9.3|^10.5",
"spatie/laravel-ray": "^1.9",
"spatie/pest-plugin-snapshots": "^1.1",
"spatie/pest-plugin-snapshots": "^1.1|^2.1",
"spatie/phpunit-snapshot-assertions": "^4.2|^5.0"

},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 7b3edc8

Please sign in to comment.