Skip to content

Commit

Permalink
Merge pull request #164 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
Nielsvanpach authored Mar 4, 2024
2 parents 595fa17 + fc8a03f commit 69bc09c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
name: run-tests

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

jobs:
test:

runs-on: ubuntu-latest

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

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

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"require": {
"php": "^8.1",
"openspout/openspout": "^4.19",
"illuminate/support": "^9.0|^10.0"
"illuminate/support": "^9.0|^10.0|^11.0"
},
"require-dev": {
"pestphp/pest-plugin-laravel": "^1.3",
"phpunit/phpunit": "^9.4",
"spatie/pest-plugin-snapshots": "^1.1",
"spatie/phpunit-snapshot-assertions": "^4.0",
"spatie/temporary-directory": "^1.2"
"pestphp/pest-plugin-laravel": "^1.3|^2.3",
"phpunit/phpunit": "^9.4|^10.5",
"spatie/pest-plugin-snapshots": "^1.1|^2.1",
"spatie/phpunit-snapshot-assertions": "^4.0|^5.1",
"spatie/temporary-directory": "^1.2|^2.2"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 69bc09c

Please sign in to comment.