Skip to content

Commit ce09c96

Browse files
authored
Deprecate the NotSupported exception (#11470)
1 parent ae659fe commit ce09c96

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: UPGRADE.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Upgrade to 3.2
22

3+
## Deprecate the `NotSupported` exception
4+
5+
The class `Doctrine\ORM\Exception\NotSupported` is deprecated without replacement.
6+
37
## Deprecate remaining `Serializable` implementation
48

59
Relying on `SequenceGenerator` implementing the `Serializable` is deprecated

Diff for: src/Exception/NotSupported.php

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
use function sprintf;
1010

11+
/** @deprecated */
1112
final class NotSupported extends LogicException implements ORMException
1213
{
1314
public static function create(): self

0 commit comments

Comments
 (0)