From 6ebe4849ff7448d5903914d2f8980af5c9fd8d34 Mon Sep 17 00:00:00 2001 From: Mirosław Sztorc <msztorc@users.noreply.github.com> Date: Mon, 14 Feb 2022 15:59:33 +0100 Subject: PHP 8.1 support (#94) * php 8.1 * upgrading phpunit * removing php7.2 support * removing php7.2 from test matrix --- .github/workflows/tests.yml | 3 ++- 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": { -- cgit v1.2.3