Skip to content

Commit 1d0b74c

Browse files
committed
Fix deprecation messages
1 parent 07ad590 commit 1d0b74c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/WebTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ private function doTearDown()
4242
protected static function createClient(array $options = [], array $server = [])
4343
{
4444
if (static::$booted) {
45-
@trigger_error(sprintf('Calling "%s()" while a kernel has been booted is deprecated since Symfony 4.4 and will throw in 5.0, ensure the kernel is shut down before calling the method.', __METHOD__), E_USER_DEPRECATED);
45+
@trigger_error(sprintf('Calling "%s()" while a kernel has been booted is deprecated since Symfony 4.4 and will throw an exception in 5.0, ensure the kernel is shut down before calling the method.', __METHOD__), E_USER_DEPRECATED);
4646
}
4747

4848
$kernel = static::bootKernel($options);

0 commit comments

Comments
 (0)