Skip to content

Commit 8ac319c

Browse files
peter279kmnavarrocarter
authored andcommitted
Imprvoe PHP version requirements
1 parent fa6c495 commit 8ac319c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ jobs:
100100
restore-keys: "composer-cache"
101101
- name: "Install lowest dependencies"
102102
if: ${{ matrix.dependencies == 'lowest' }}
103-
run: "composer update ${{ env.COMPOSER_FLAGS }} --prefer-lowest --ignore-platform-reqs"
103+
run: "composer update ${{ env.COMPOSER_FLAGS }} --prefer-lowest"
104104
- name: "Install highest dependencies"
105105
if: ${{ matrix.dependencies == 'highest' }}
106-
run: "composer update ${{ env.COMPOSER_FLAGS }} --ignore-platform-reqs"
106+
run: "composer update ${{ env.COMPOSER_FLAGS }}"
107107
- name: "Run PHPUnit"
108108
run: "vendor/bin/phpunit --testdox --coverage-text"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
},
2626
"require": {
27-
"php": ">=7.4",
27+
"php": "^7.4|^8.0",
2828
"ext-json": "*"
2929
},
3030
"scripts": {

0 commit comments

Comments
 (0)