bug #33177 [Lock] trigger a deprecation not a notice (xabbuh)
This PR was merged into the 4.4 branch.
Discussion
----------
[Lock] trigger a deprecation not a notice
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Commits
-------
21554aa8a5
trigger a deprecation not a notice
This commit is contained in:
commit
4d4b6473c0
@ -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