Skip to content

Commit

Permalink
Merge pull request #29 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 7, 2024
2 parents 3b0ae1c + 286fc91 commit 23ea749
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
name: Tests

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

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

strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0, 8.1, 8.2]
laravel: [10.*, 9.*, 8.*]
laravel: ['8.*', '9.*', '10.*', '11.*']
dependency-version: [prefer-stable]
include:
- laravel: 10.*
Expand All @@ -19,9 +22,15 @@ jobs:
testbench: 7.*
- laravel: 8.*
testbench: 6.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
],
"require": {
"php": "^8.0",
"illuminate/contracts": "^8.67|^9.0|^10.0",
"illuminate/support": "^8.77|^9.0|^10.0",
"illuminate/contracts": "^8.67|^9.0|^10.0|^11.0",
"illuminate/support": "^8.77|^9.0|^10.0|^11.0",
"spatie/laravel-package-tools": "^1.10",
"symfony/finder": "^5.4.2|^6.0"
"symfony/finder": "^5.4.2|^6.0|^7.0"
},
"require-dev": {
"nunomaduro/larastan": "^1.0.2|^2.0",
"orchestra/testbench": "^6.23.2|^7.0|^8.0",
"pestphp/pest": "^1.21",
"orchestra/testbench": "^6.23.2|^7.0|^8.0|^9.0",
"pestphp/pest": "^1.21|^2.34",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
Expand Down

0 comments on commit 23ea749

Please sign in to comment.