From 14e55c3886a35992f10d18033db53836bb9eae64 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Tue, 11 Jan 2022 17:17:58 +0100 Subject: [PATCH] Allow the installation on PHP 7.1 --- .github/workflows/continuous-integration.yml | 2 ++ composer.json | 4 ++-- phpcs.xml.dist | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e31170d..2679513 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -13,3 +13,5 @@ jobs: phpunit: name: "PHPUnit" uses: "doctrine/.github/.github/workflows/continuous-integration.yml@1.4.1" + with: + php-versions: '["7.1", "7.2", "7.3", "7.4", "8.0", "8.1"]' diff --git a/composer.json b/composer.json index 49a5aa1..ac7e4bd 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,12 @@ {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"} ], "require": { - "php": "^7.2 || ^8.0" + "php": "^7.1 || ^8.0" }, "require-dev": { "doctrine/coding-standard": "^9.0", "phpstan/phpstan": "1.3", - "phpunit/phpunit": "^8.2 || ^9.4", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", "vimeo/psalm": "^4.11" }, "autoload": { diff --git a/phpcs.xml.dist b/phpcs.xml.dist index b92854e..3c18ac3 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -6,7 +6,7 @@ - +