Skip to content

Commit

Permalink
Remove support for PHP<8 and Laravel<8
Browse files Browse the repository at this point in the history
  • Loading branch information
Propaganistas committed Jan 9, 2023
1 parent 5d00599 commit 720fb08
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,18 @@ jobs:
extensions: dom, curl, json, libxml, mbstring, zip
tools: composer:v2
coverage: none

- name: Patch testbench version
if: matrix.php == 8.1 && matrix.laravel == 8
if: matrix.laravel == 8
run: |
composer require "orchestra/testbench=^6.23" --dev --no-interaction --no-update
# https://github.com/briannesbitt/Carbon/releases/tag/2.62.1
- name: Patch Carbon version
if: matrix.php == 8.2
run: |
composer require "nesbot/carbon=^2.63" --dev --no-interaction --no-update
- name: Install dependencies
run: |
composer require "illuminate/support=^${{ matrix.laravel }}" --no-interaction --no-update
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
},
"require-dev": {
"mockery/mockery": "^1.4.2",
"phpunit/phpunit": "^9.5.10",
"orchestra/testbench": "*"
"orchestra/testbench": "*",
"phpunit/phpunit": "^9.5.10"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 720fb08

Please sign in to comment.