Skip to content

Commit e9c0548

Browse files
Merge branch '4.4' into 5.3
* 4.4: Track unsilenced deprecation only for userland [Security Core], [Validator Component]
2 parents 2a1ff6e + 254590a commit e9c0548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DeprecationErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function handleError($type, $msg, $file, $line, $context = [])
142142

143143
$msg = $deprecation->getMessage();
144144

145-
if (error_reporting() & $type) {
145+
if (\E_DEPRECATED !== $type && (error_reporting() & $type)) {
146146
$group = 'unsilenced';
147147
} elseif ($deprecation->isLegacy()) {
148148
$group = 'legacy';

0 commit comments

Comments
 (0)