Skip to content

Commit

Permalink
Fix reporting unsilenced deprecations from insulated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Jun 9, 2019
1 parent 7f2b084 commit 53266c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ protected function doRequestInProcess($request)
unlink($deprecationsFile);
foreach ($deprecations ? unserialize($deprecations) : [] as $deprecation) {
if ($deprecation[0]) {
@trigger_error($deprecation[1], E_USER_DEPRECATED);
// unsilenced on purpose
trigger_error($deprecation[1], E_USER_DEPRECATED);
} else {
@trigger_error($deprecation[1], E_USER_DEPRECATED);
}
Expand Down

0 comments on commit 53266c9

Please # to comment.