Skip to content

Commit b58946a

Browse files
committed
Merge branch '3.2.x' into 4.0.x
* 3.2.x: Deprecate the NotSupported exception (#11470)
2 parents d973867 + ce09c96 commit b58946a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

UPGRADE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ using the `\Doctrine\ORM\Mapping\UniqueConstraint` and `\Doctrine\ORM\Mapping\In
4242

4343
# Upgrade to 3.2
4444

45+
## Deprecate the `NotSupported` exception
46+
47+
The class `Doctrine\ORM\Exception\NotSupported` is deprecated without replacement.
48+
4549
## Deprecate remaining `Serializable` implementation
4650

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

src/Exception/NotSupported.php

Lines changed: 1 addition & 0 deletions
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)