From 4ddda998f3da1e8a74f61d01a890ede8d7fc837f Mon Sep 17 00:00:00 2001 From: Gregory Heitz Date: Sat, 12 Dec 2020 15:37:38 +0100 Subject: [PATCH 1/3] Set infection modules with any semver --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index b8920f3..b407102 100644 --- a/composer.json +++ b/composer.json @@ -17,9 +17,9 @@ "require-dev": { "php-coveralls/php-coveralls": "^2", "codeception/module-asserts": "^1", - "infection/infection": ">=0.15", - "infection/codeception-adapter": "~0.3", - "infection/extension-installer": "~0.1" + "infection/infection": "^0.20", + "infection/codeception-adapter": "*", + "infection/extension-installer": "*" }, "autoload": { "psr-4": { From a84e0e5a6686a35dd1ed5d02f5656e7c00079d03 Mon Sep 17 00:00:00 2001 From: Gregory Heitz Date: Sat, 12 Dec 2020 15:40:04 +0100 Subject: [PATCH 2/3] Restrict php version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b407102..0230c0e 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": ">=7.2", + "php": ">=7.2 <9.0", "codeception/codeception": "3 - 5" }, "require-dev": { From 7dde3aaf9b062d2eff30e0eafa71a806b6ae78f5 Mon Sep 17 00:00:00 2001 From: Gregory Heitz Date: Sat, 12 Dec 2020 15:41:18 +0100 Subject: [PATCH 3/3] Fix infection semver for php 7.2 and 7.3 --- .travis.yml | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d6e4d7e..14d16bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ jobs: - php: 8.0 before_script: + - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.2" || ${TRAVIS_PHP_VERSION:0:3} == "7.3" ]]; then composer require --dev composer/package-versions-deprecated; fi - composer install script: diff --git a/composer.json b/composer.json index 0230c0e..1c5b119 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "require-dev": { "php-coveralls/php-coveralls": "^2", "codeception/module-asserts": "^1", - "infection/infection": "^0.20", + "infection/infection": "^0.15 | ^0.20", "infection/codeception-adapter": "*", "infection/extension-installer": "*" },