Skip to content

Commit c32ac27

Browse files
Merge branch '4.4' into 5.4
* 4.4: CS fixes Bump Symfony version to 4.4.44 Update VERSION for 4.4.43 Update CONTRIBUTORS for 4.4.43 Update CHANGELOG for 4.4.43
1 parent 6dac02d commit c32ac27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Internal/BasicErrorHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ public static function register(bool $debug): void
2424

2525
if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true)) {
2626
ini_set('display_errors', $debug);
27-
} elseif (!filter_var(ini_get('log_errors'), \FILTER_VALIDATE_BOOLEAN) || ini_get('error_log')) {
27+
} elseif (!filter_var(\ini_get('log_errors'), \FILTER_VALIDATE_BOOLEAN) || \ini_get('error_log')) {
2828
// CLI - display errors only if they're not already logged to STDERR
2929
ini_set('display_errors', 1);
3030
}
3131

32-
if (0 <= ini_get('zend.assertions')) {
32+
if (0 <= \ini_get('zend.assertions')) {
3333
ini_set('zend.assertions', 1);
3434
ini_set('assert.active', $debug);
3535
ini_set('assert.warning', 0);

0 commit comments

Comments
 (0)