diff options
author | Mirosław Sztorc <msztorc@users.noreply.github.com> | 2022-02-14 17:59:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 17:59:33 +0300 |
commit | 6ebe4849ff7448d5903914d2f8980af5c9fd8d34 (patch) | |
tree | b71ade3878ce4a31a01ac4b4a828d90926776d45 | |
parent | 9442a6f4712ec80df799522b8aec2635dc0254a3 (diff) |
PHP 8.1 support (#94)V2.1.10
* php 8.1
* upgrading phpunit
* removing php7.2 support
* removing php7.2 from test matrix
-rw-r--r-- | .github/workflows/tests.yml | 3 | ||||
-rw-r--r-- | composer.json | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1ef4950..24e9a38 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,8 +6,9 @@ jobs: php-tests: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: - php: [8.0, 7.4, 7.3, 7.2] + php: [8.1, 8.0, 7.4, 7.3] dependency-version: [prefer-lowest, prefer-stable] os: [ubuntu-latest, windows-latest] diff --git a/composer.json b/composer.json index 6c2dd75..7ebd752 100644 --- a/composer.json +++ b/composer.json @@ -22,11 +22,16 @@ "email": "brucekwells@gmail.com" } ], + "scripts": { + "test": "vendor/bin/phpunit --colors=always", + "test-coverage": "vendor/bin/phpunit --coverage-html coverage" + + }, "require": { - "php": ">=7.2" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": ">=8.0" + "phpunit/phpunit": ">=9.0" }, "autoload": { "psr-4": { |