From c396a50509b13d081a0d8f04ce92f379a57b619c Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Sun, 20 Nov 2016 22:30:37 +0100 Subject: [PATCH 1/2] Force composer to run as PHP 5.5.9 --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4f7ad2915..2e87a7f17 100644 --- a/composer.json +++ b/composer.json @@ -125,7 +125,10 @@ "psr-4": { "Tests\\": "tests/" } }, "config": { - "bin-dir": "bin" + "bin-dir": "bin", + "platform": { + "php": "5.5.9" + } }, "minimum-stability": "dev", "prefer-stable": true From f32ff3753434dce8fc47a8f58a2edc3dc0c71e53 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Mon, 21 Nov 2016 07:46:46 +0100 Subject: [PATCH 2/2] Lock down PHPUnit for PHP 5.5 Since Composer defined lowest version is now PHP 5.5.9. PHPUnit 5.0 require PHP 5.6. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2e87a7f17..70f5fc99c 100644 --- a/composer.json +++ b/composer.json @@ -88,7 +88,7 @@ "doctrine/doctrine-fixtures-bundle": "~2.2", "doctrine/data-fixtures": "~1.1.1", "sensio/generator-bundle": "^3.0", - "phpunit/phpunit": "~5.0", + "phpunit/phpunit": "~4.0", "symfony/phpunit-bridge": "^3.0", "friendsofphp/php-cs-fixer": "~1.9", "m6web/redis-mock": "^2.0"