Skip to content

Commit

Permalink
Merge pull request #43 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 caac6f1 + d30d7db commit 46a0800
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
15 changes: 12 additions & 3 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.2, 8.1, 8.0]
laravel: [9.*, 8.*, 10.*]
laravel: ['8.*', '9.*', '10.*', '11.*']
stability: [prefer-stable]
include:
- laravel: 10.*
Expand All @@ -23,9 +26,15 @@ jobs:
testbench: ^7.0
- laravel: 8.*
testbench: ^6.6
- laravel: 11.*
testbench: ^9.0
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.1
- laravel: 11.*
php: 8.0

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

Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
"require": {
"php": "^8.0",
"guzzlehttp/guzzle": "^7.3|^7.2",
"illuminate/contracts": "^8.37|^9.0|^10.0",
"illuminate/contracts": "^8.37|^9.0|^10.0|^11.0",
"spatie/laravel-package-tools": "^1.7.0"
},
"require-dev": {
"brianium/paratest": "^6.3",
"nunomaduro/collision": "^5.4|^6.0",
"orchestra/testbench": "^6.17|^7.0|^8.0",
"pestphp/pest": "^1.22",
"brianium/paratest": "^6.3|^7.4",
"nunomaduro/collision": "^5.4|^6.0|^8.0",
"orchestra/testbench": "^6.17|^7.0|^8.0|^9.0",
"pestphp/pest": "^1.22|^2.34",
"spatie/laravel-ray": "^1.17",
"spatie/pest-plugin-snapshots": "^1.1",
"spatie/phpunit-snapshot-assertions": "^4.2"
"spatie/pest-plugin-snapshots": "^1.1|^2.1",
"spatie/phpunit-snapshot-assertions": "^4.2|^5.1"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 46a0800

Please sign in to comment.