From ed54e8346d8bfa4da6a49875c50cbcbc01303404 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 4 Oct 2014 12:33:28 +0100 Subject: [PATCH] Fix json test, fixes #3326 --- tests/Composer/Test/Json/JsonFileTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Composer/Test/Json/JsonFileTest.php b/tests/Composer/Test/Json/JsonFileTest.php index 6e0c46f12..6566e4cc4 100644 --- a/tests/Composer/Test/Json/JsonFileTest.php +++ b/tests/Composer/Test/Json/JsonFileTest.php @@ -131,7 +131,7 @@ class JsonFileTest extends \PHPUnit_Framework_TestCase public function testFormatEmptyArray() { $data = array('test' => array(), 'test2' => new \stdClass); - if (PHP_VERSION_ID < 50429 || (PHP_VERSION_ID >= 50500 && PHP_VERSION_ID < 50513)) { + if (PHP_VERSION_ID < 50428 || (PHP_VERSION_ID >= 50500 && PHP_VERSION_ID < 50512)) { $json = '{ "test": [