Skip to content

Commit 7ce820a

Browse files
committed
Merge branch '2.6' into 2.7
* 2.6: Extract an AbstractEventDispatcherTest from EventDispatcherTest and also use it in ContainerAwareEventDispatcherTest [SecurityBundle] Authentication entry point is only registered with firewall exception listener, not with authentication listeners be smarter when guessing the document root Azerbaijani locale Fixed grammar error in docblock [HttpKernel] fix parse error in DumpDataCollector [TwigBundle/DebugBundle] move dump extension & cleanups Adjust upgrade file rendering [Bridge/Propel1] Changed deps to accepts all upcoming propel1 versions compare version using PHP_VERSION_ID [Form] Add doc for FormEvents *_timezone changes also affect the BirthdayType don't override internal PHP constants Drop support for model_timezone and view_timezone options in TimeType and DateType. [DomCrawler] Added support for link tags in the Link class [Session] Fix parameter names in WriteCheckSessionHandler Add consistency with request type checking [FrameworkBundle] Fix server run in case the router script does not exist
2 parents 404937c + 16e5489 commit 7ce820a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Encoder/JsonDecode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function decode($data, $format, array $context = array())
9999
$recursionDepth = $context['json_decode_recursion_depth'];
100100
$options = $context['json_decode_options'];
101101

102-
if (version_compare(PHP_VERSION, '5.4.0') >= 0) {
102+
if (PHP_VERSION_ID >= 50400) {
103103
$decodedData = json_decode($data, $associative, $recursionDepth, $options);
104104
} else {
105105
$decodedData = json_decode($data, $associative, $recursionDepth);

0 commit comments

Comments
 (0)