Skip to content

Commit

Permalink
Ensure Laravel 9 is properly supported (#10)
Browse files Browse the repository at this point in the history
* Update CI workflow with newer versions

* Update composer package versions to support all PHP/Laravel combinations
  • Loading branch information
beblife authored Aug 24, 2022
1 parent d752d99 commit 5fbc5b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ jobs:
strategy:
fail-fast: true
matrix:
laravel: [7.30.*, 8.*]
php: [7.4, 8.0]
laravel: [7.30.*, 8.*, 9.*]
php: [7.4, 8.0, 8.1]
include:
- laravel: 7.30.*
testbench: 5.*
- laravel: 8.*
testbench: 6.*
- laravel: 9.*
testbench: 7.*
exclude:
- laravel: 9.*
php: 7.4
- laravel: 7.30.*
php: 8.1

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

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
],
"require": {
"php": "^7.4|^8.0",
"guzzlehttp/psr7": "^1.8|^2.0",
"guzzlehttp/psr7": "^1.8 || ^2.0",
"league/openapi-psr7-validator": "^0.18",
"spatie/laravel-package-tools": "^1.11"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.18",
"friendsofphp/php-cs-fixer": "^2.18 || ^3.1",
"mockery/mockery": "^1.4",
"orchestra/testbench": "^6.14",
"phpunit/phpunit": "^9.5"
Expand Down

0 comments on commit 5fbc5b0

Please sign in to comment.