From 0f08ef69efcb799558296cd211edeac5f46c98d4 Mon Sep 17 00:00:00 2001 From: Hugo Zonderland Date: Wed, 14 Jun 2017 12:24:17 +0200 Subject: [PATCH] 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. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": "*", -- 2.43.0