Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit 8dc1218

Browse files
Merge branch '2.3' into 2.7
* 2.3: [HttpFoundation] Fix transient test [HttpFoundation] Add a dependency on the mbstring polyfill add readme files where missing Don't use reflections when possible [Form] Update form tests after the ICU data update [Intl] Update tests and the number formatter to match behaviour of the intl extension [Intl] Update the ICU data to version 55 [Intl] Fix the update-data.php script in preparation for ICU 5.5 Use constant instead of function call. fixed test name automatically generate safe fallback filename Conflicts: src/Symfony/Component/Debug/Debug.php src/Symfony/Component/HttpFoundation/composer.json src/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php
2 parents d251523 + a6f7b78 commit 8dc1218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Debug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static function enable($errorReportingLevel = null, $displayErrors = true
4545
error_reporting(-1);
4646
}
4747

48-
if ('cli' !== php_sapi_name()) {
48+
if ('cli' !== PHP_SAPI) {
4949
ini_set('display_errors', 0);
5050
ExceptionHandler::register();
5151
} elseif ($displayErrors && (!ini_get('log_errors') || ini_get('error_log'))) {

0 commit comments

Comments
 (0)