Skip to content

Commit 928e5c9

Browse files
Merge branch '4.4'
* 4.4: add back possibility to use form themes without translations [HttpClient] fix Psr18Client handling of non-200 response codes [HttpClient] make Psr18Client implement relevant PSR-17 factories [WebProfilerBundle] fix FC with HttpFoundation v5 [OptionsResolver] fix adding $triggerDeprecation to Options::offsetGet() [Form] test case is not legacy Fix reporting unsilenced deprecations from insulated tests Changed EventDispatcherInterface dependency from Component to Contracts fix handling nested embeddables [WebProfilerBundle] Select default theme based on user preferences [FrameworkBundle] Allow dots in translation domains Added FormInterface to @return Form::getClickedButton docblock
2 parents 2a6baaf + 88eb9cb commit 928e5c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Legacy/SymfonyTestsListenerTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ public function endTest($test, $time)
284284
foreach ($deprecations ? unserialize($deprecations) : array() as $deprecation) {
285285
$error = serialize(array('deprecation' => $deprecation[1], 'class' => $className, 'method' => $test->getName(false), 'triggering_file' => isset($deprecation[2]) ? $deprecation[2] : null));
286286
if ($deprecation[0]) {
287-
@trigger_error($error, E_USER_DEPRECATED);
287+
// unsilenced on purpose
288+
trigger_error($error, E_USER_DEPRECATED);
288289
} else {
289290
@trigger_error($error, E_USER_DEPRECATED);
290291
}

0 commit comments

Comments
 (0)