trigger a deprecation not a notice
This commit is contained in:
parent
876cec7c45
commit
21554aa8a5
@ -145,7 +145,7 @@ class PdoStore implements StoreInterface
|
||||
*/
|
||||
public function waitAndSave(Key $key)
|
||||
{
|
||||
@trigger_error(sprintf('%s() is deprecated since Symfony 4.4 and will be removed in Symfony 5.0.', __METHOD__));
|
||||
@trigger_error(sprintf('%s() is deprecated since Symfony 4.4 and will be removed in Symfony 5.0.', __METHOD__), E_USER_DEPRECATED);
|
||||
throw new NotSupportedException(sprintf('The store "%s" does not supports blocking locks.', __METHOD__));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user