8000 Fix reporting unsilenced deprecations from insulated tests · symfony/browser-kit@53266c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 53266c9

Browse files
Fix reporting unsilenced deprecations from insulated tests
1 parent 7f2b084 commit 53266c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Client.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,8 @@ protected function doRequestInProcess($request)
361361
unlink($deprecationsFile);
362362
foreach ($deprecations ? unserialize($deprecations) : [] as $deprecation) {
363363
if ($deprecation[0]) {
364-
@trigger_error($deprecation[1], E_USER_DEPRECATED);
364+
// unsilenced on purpose
365+
trigger_error($deprecation[1], E_USER_DEPRECATED);
365366
} else {
366367
@trigger_error($deprecation[1], E_USER_DEPRECATED);
367368
}

0 commit comments

Comments
 (0)
0