From 7b542d13ae3bddc45577db2a6b6f879bc2930957 Mon Sep 17 00:00:00 2001 From: Gemorroj Date: Sat, 5 Dec 2020 15:45:00 +0300 Subject: [PATCH] build: drop php 7.1 and 7.2 support --- .gitignore | 2 ++ .travis.yml | 2 -- README.md | 2 +- composer.json | 4 ++-- phpunit.xml.dist | 2 +- tests/ExtCustomTag.php | 2 -- 6 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index abc779f..0ed4a56 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,9 @@ composer.phar composer.lock vendor/ + phpunit.xml +.phpunit.result.cache .php_cs .php_cs.cache diff --git a/.travis.yml b/.travis.yml index d5825d2..aa5a2a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,5 @@ language: php php: - - 7.1 - - 7.2 - 7.3 - 7.4 - 8.0 diff --git a/README.md b/README.md index 67cd78d..789b3b6 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ### Requirements: -- PHP >= 7.1.3 +- PHP >= 7.3 ### Installation: diff --git a/composer.json b/composer.json index 3c92cc8..0aff014 100644 --- a/composer.json +++ b/composer.json @@ -10,10 +10,10 @@ } ], "require": { - "php": "^7.1.3|^8.0" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^7.5", + "phpunit/phpunit": "^9.5", "friendsofphp/php-cs-fixer": "^2.16" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index d156354..674b6cf 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,7 +1,7 @@ diff --git a/tests/ExtCustomTag.php b/tests/ExtCustomTag.php index 5bc4d79..ff24794 100644 --- a/tests/ExtCustomTag.php +++ b/tests/ExtCustomTag.php @@ -13,8 +13,6 @@ class ExtCustomTag implements ExtTagInterface /** * #EXTCUSTOMTAG:data. - * - * @param string $lineStr */ public function __construct(?string $lineStr = null) {