Skip to content

Commit

Permalink
Deprecate the NotSupported exception (#11470)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored May 22, 2024
1 parent ae659fe commit ce09c96
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
@@ -1,5 +1,9 @@
# 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 ce09c96

Please sign in to comment.