Skip to content

Commit 6aff50a

Browse files
committed
trigger a deprecation not a notice
1 parent fde1387 commit 6aff50a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Store/PdoStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function save(Key $key)
145145
*/
146146
public function waitAndSave(Key $key)
147147
{
148-
@trigger_error(sprintf('%s() is deprecated since Symfony 4.4 and will be removed in Symfony 5.0.', __METHOD__));
148+
@trigger_error(sprintf('%s() is deprecated since Symfony 4.4 and will be removed in Symfony 5.0.', __METHOD__), E_USER_DEPRECATED);
149149
throw new NotSupportedException(sprintf('The store "%s" does not supports blocking locks.', __METHOD__));
150150
}
151151

0 commit comments

Comments
 (0)