From: Hugo Zonderland Date: Wed, 14 Jun 2017 10:24:17 +0000 (+0200) Subject: The >=4.0.0 syntax installs any version which is able to run depending on the require... X-Git-Tag: 4.2.0~1^2~2 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=0f08ef69efcb799558296cd211edeac5f46c98d4 The >=4.0.0 syntax installs any version which is able to run depending on the requirements of the environment. Which means it will install phpunit 6 on php 7, which breaks the current test suite. Therefor the version must be limited to 5.7.20. --- diff --git a/composer.json b/composer.json index d6d20fd..a5b37e3 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "ext-xml": "*" }, "require-dev": { - "phpunit/phpunit": ">=4.0.0", + "phpunit/phpunit": "<4.8.35 || >= 5.0, <5.7.20", "phpunit/phpunit-selenium": "*", "codeclimate/php-test-reporter": "dev-master", "ext-curl": "*",