Skip to content

Commit

Permalink
Merge branch '3.2.x' into 4.0.x
Browse files Browse the repository at this point in the history
* 3.2.x:
  Deprecate the NotSupported exception (doctrine#11470)
  • Loading branch information
derrabus committed May 22, 2024
2 parents d973867 + ce09c96 commit b58946a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/Exception/NotSupported.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

use function sprintf;

/** @deprecated */
final class NotSupported extends LogicException implements ORMException
{
public static function create(): self
Expand Down

0 comments on commit b58946a

Please sign in to comment.