From bc9639d4b142246e5e84b06235d94e0b90df9a8f Mon Sep 17 00:00:00 2001 From: Thomas Steur <thomas.steur@gmail.com> Date: Sat, 10 Sep 2016 02:48:31 +0000 Subject: [PATCH] increase required php version --- composer.json | 4 ++-- core/testMinimumPhpVersion.php | 2 +- tests/PHPUnit/Integration/ReleaseCheckListTest.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 35dce0c530..61770642be 100644 --- a/composer.json +++ b/composer.json @@ -20,11 +20,11 @@ }, "config":{ "platform": { - "php": "5.5.0" + "php": "5.5.9" } }, "require": { - "php": ">=5.5.0", + "php": ">=5.5.9", "twig/twig": "~1.0", "leafo/lessphp": "~0.5.0", "symfony/console": "~2.6.0", diff --git a/core/testMinimumPhpVersion.php b/core/testMinimumPhpVersion.php index a63453ea85..adc4b487db 100644 --- a/core/testMinimumPhpVersion.php +++ b/core/testMinimumPhpVersion.php @@ -19,7 +19,7 @@ $piwik_errorMessage = ''; // NOTE: when changing this variable, we also need to update // 1) api.piwik.org // 2) tests/travis/generator/Generator.php -$piwik_minimumPHPVersion = '5.5.0'; +$piwik_minimumPHPVersion = '5.5.9'; $piwik_currentPHPVersion = PHP_VERSION; $minimumPhpInvalid = version_compare($piwik_minimumPHPVersion, $piwik_currentPHPVersion) > 0; if ($minimumPhpInvalid) { diff --git a/tests/PHPUnit/Integration/ReleaseCheckListTest.php b/tests/PHPUnit/Integration/ReleaseCheckListTest.php index 41e46b0cc6..8357826275 100644 --- a/tests/PHPUnit/Integration/ReleaseCheckListTest.php +++ b/tests/PHPUnit/Integration/ReleaseCheckListTest.php @@ -28,7 +28,7 @@ class ReleaseCheckListTest extends \PHPUnit_Framework_TestCase { private $globalConfig; - const MINIMUM_PHP_VERSION = '5.5.0'; + const MINIMUM_PHP_VERSION = '5.5.9'; public function setUp() { -- GitLab