Skip to content

Commit

Permalink
Shorter deprecation message (doctrine#10357)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Dec 31, 2022
1 parent 28e98b3 commit 85ac276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Deprecated `Doctrine\ORM\Persisters\Exception\UnrecognizedField::byName($field)` method.

It will be removed in 3.0. Use `Doctrine\ORM\Persisters\Exception\UnrecognizedField::byFullyQualifiedName($className, $field)` instead.
Use `Doctrine\ORM\Persisters\Exception\UnrecognizedField::byFullyQualifiedName($className, $field)` instead.

## Deprecated constants of `Doctrine\ORM\Internal\CommitOrderCalculator`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

final class UnrecognizedField extends PersisterException
{
/** @deprecated This method is deprecated and will be removed in Doctrine ORM 3.0. Use {@see byFullyQualifiedName} instead */
/** @deprecated Use {@see byFullyQualifiedName()} instead. */
public static function byName(string $field): self
{
return new self(sprintf('Unrecognized field: %s', $field));
Expand Down

0 comments on commit 85ac276

Please sign in to comment.