diff --git a/UPGRADE.md b/UPGRADE.md index a9dab1d0708..26479cfcbb7 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -42,6 +42,10 @@ using the `\Doctrine\ORM\Mapping\UniqueConstraint` and `\Doctrine\ORM\Mapping\In # Upgrade to 3.2 +## Deprecate the `NotSupported` exception + +The class `Doctrine\ORM\Exception\NotSupported` is deprecated without replacement. + ## Deprecate remaining `Serializable` implementation Relying on `SequenceGenerator` implementing the `Serializable` is deprecated diff --git a/src/Exception/NotSupported.php b/src/Exception/NotSupported.php index a061aebb0dd..9192f87520e 100644 --- a/src/Exception/NotSupported.php +++ b/src/Exception/NotSupported.php @@ -8,6 +8,7 @@ use function sprintf; +/** @deprecated */ final class NotSupported extends LogicException implements ORMException { public static function create(): self