Skip to content

Commit

Permalink
feat: support Laravel 10 (#35)
Browse files Browse the repository at this point in the history
*  Configured `composer.json` - Require minimum or above
- `php` 8.0
- `laravel/framework` 8.0

*  Updated `phpunit` CI - Run tests for Laravel `v10.X`
  • Loading branch information
Rikj000 authored Apr 21, 2023
1 parent 6d85995 commit 61e9260
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0.14, 8.1]
laravel: [8.*, 9.*]
laravel: [8.*, 9.*, 10.*]
# include:
# - laravel: 9.*
# testbench: ^7
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:

- name: Execute tests
run: vendor/bin/phpunit

- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
}
],
"require": {
"php": "^8",
"laravel/framework": "^8|^9"
"php": ">=8.0",
"laravel/framework": ">=8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3",
Expand Down

0 comments on commit 61e9260

Please sign in to comment.