|
|
@ -131,7 +131,7 @@ class JsonFileTest extends \PHPUnit_Framework_TestCase
|
|
|
|
public function testFormatEmptyArray()
|
|
|
|
public function testFormatEmptyArray()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$data = array('test' => array(), 'test2' => new \stdClass);
|
|
|
|
$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 = '{
|
|
|
|
$json = '{
|
|
|
|
"test": [
|
|
|
|
"test": [
|
|
|
|
|
|
|
|
|
|
|
|