Skip to content

Commit

Permalink
Laravel 11.x Compatibility (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
laravel-shift authored Mar 3, 2024
1 parent a5dac8f commit b765bd1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
name: Tests
on: [push]

on:
- push

jobs:
run:
runs-on: ubuntu-latest

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

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

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@
"ext-json": "*",
"ext-zip": "*",
"guzzlehttp/guzzle": "^7.5.0",
"illuminate/support": "^10",
"league/uri": "~6.7 || ~6.8",
"illuminate/support": "^10 || ^11.0",
"league/uri": "~6.7 || ~6.8 || ^7.4",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan-phpunit": "^1.2"
},
"require-dev": {
"dg/bypass-finals": "^1.4",
"mikey179/vfsstream": "^1.6",
"mockery/mockery": "^1.5",
"orchestra/testbench": "^8.1",
"phpunit/phpunit": "^9.5.26"
"orchestra/testbench": "^8.1 || ^9.0",
"phpunit/phpunit": "^9.5.26 || ^10.5"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down

0 comments on commit b765bd1

Please sign in to comment.