Add PHP8.0 version support

This commit is contained in:
peter279k
2020-12-23 00:31:42 +08:00
committed by Matias Navarro Carter
parent ea092c24d7
commit 2cda4451a4
2 changed files with 3 additions and 3 deletions

View File

@@ -114,9 +114,9 @@ jobs:
restore-keys: "composer-cache" restore-keys: "composer-cache"
- name: "Install lowest dependencies" - name: "Install lowest dependencies"
if: ${{ matrix.dependencies == 'lowest' }} 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" - name: "Install highest dependencies"
if: ${{ matrix.dependencies == 'highest' }} if: ${{ matrix.dependencies == 'highest' }}
run: "composer install ${{ env.COMPOSER_FLAGS }} --ignore-platform-reqs" run: "composer install ${{ env.COMPOSER_FLAGS }}"
- name: "Run PHPUnit" - name: "Run PHPUnit"
run: "vendor/bin/phpunit --testdox --coverage-text" run: "vendor/bin/phpunit --testdox --coverage-text"

View File

@@ -11,7 +11,7 @@
], ],
"minimum-stability": "stable", "minimum-stability": "stable",
"require": { "require": {
"php": "^7.4" "php": "^7.4|^8.0"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^2.16", "friendsofphp/php-cs-fixer": "^2.16",