Add PHP8.0 version support
This commit is contained in:
4
.github/workflows/pr.yml
vendored
4
.github/workflows/pr.yml
vendored
@@ -114,9 +114,9 @@ jobs:
|
||||
restore-keys: "composer-cache"
|
||||
- name: "Install lowest dependencies"
|
||||
if: ${{ matrix.dependencies == 'lowest' }}
|
||||
run: "composer update ${{ env.COMPOSER_FLAGS }} --prefer-lowest --ignore-platform-reqs"
|
||||
run: "composer update ${{ env.COMPOSER_FLAGS }} --prefer-lowest"
|
||||
- name: "Install highest dependencies"
|
||||
if: ${{ matrix.dependencies == 'highest' }}
|
||||
run: "composer install ${{ env.COMPOSER_FLAGS }} --ignore-platform-reqs"
|
||||
run: "composer install ${{ env.COMPOSER_FLAGS }}"
|
||||
- name: "Run PHPUnit"
|
||||
run: "vendor/bin/phpunit --testdox --coverage-text"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
],
|
||||
"minimum-stability": "stable",
|
||||
"require": {
|
||||
"php": "^7.4"
|
||||
"php": "^7.4|^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.16",
|
||||
|
||||
Reference in New Issue
Block a user