Skip to content

Commit 16e5489

Browse files
committed
Merge branch '2.5' into 2.6
* 2.5: [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 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 don't override internal PHP constants [Session] Fix parameter names in WriteCheckSessionHandler Add consistency with request type checking [FrameworkBundle] Fix server run in case the router script does not exist Conflicts: composer.json src/Symfony/Component/Debug/ErrorHandler.php src/Symfony/Component/Debug/ExceptionHandler.php
2 parents ec38642 + 3240eb0 commit 16e5489

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)