Skip to content

Commit

Permalink
Merge pull request #49 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
hkp22 authored Mar 7, 2024
2 parents e8fa574 + 51d1c0c commit 1e9d728
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 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: [9.*, 10.*]
laravel: ['9.*', '10.*', '11.*']
stability: [prefer-lowest, prefer-stable]
exclude:
- laravel: 9.*
Expand All @@ -19,11 +22,17 @@ jobs:
stability: prefer-lowest
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*

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

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"require": {
"php": ">=7.1.0",
"facade/ignition-contracts": "^1.0",
"illuminate/support": "^9.19|^10.0"
"illuminate/support": "^9.19|^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^7.0|^8.0",
"phpunit/phpunit": "^8.3|^9.0",
"vimeo/psalm": "^4.0"
"orchestra/testbench": "^7.0|^8.0|^9.0",
"phpunit/phpunit": "^8.3|^9.0|^10.5",
"vimeo/psalm": "^4.0|^5.22"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 1e9d728

Please sign in to comment.