|
@@ -54,7 +54,7 @@ class JsonFileTest extends \PHPUnit_Framework_TestCase
|
|
|
|
|
|
public function testParseErrorDetectSingleQuotes()
|
|
|
{
|
|
|
- if (defined('JSON_PARSER_NOTSTRICT')) {
|
|
|
+ if (defined('JSON_PARSER_NOTSTRICT') && version_compare(phpversion('json'), '1.3.9', '<')) {
|
|
|
$this->markTestSkipped('jsonc issue, see https://github.com/remicollet/pecl-json-c/issues/23');
|
|
|
}
|
|
|
$json = '{
|