Skip to content

Commit

Permalink
Tweak wording for deprecated annotations support
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Aug 18, 2024
1 parent 3ba7a05 commit 939086a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/annotations.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Annotations Reference

> [!IMPORTANT]
> To use annotations, you will need the deprecated [`doctrine/annotations`](https://www.doctrine-project.org/projects/annotations.html) library. PHP 8 users are encouraged to migrate and use [attributes](./attributes.md) as annotation support is deprecated in all supported Doctrine object managers.
> Support for annotations is deprecated and will be removed in 4.0. PHP 8 users are encouraged to migrate and use [attributes](./attributes.md) instead of annotations. To use annotations, you will need the [`doctrine/annotations`](https://www.doctrine-project.org/projects/annotations.html) library.
Below you will a reference for annotations supported in this extensions library.
There will be introduction on usage with examples. For more detailed usage of each
Expand Down
2 changes: 1 addition & 1 deletion doc/frameworks/laminas.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ When using the [Loggable](../loggable.md), [Translatable](../translatable.md), o
need to register the mappings for these extensions to your object managers.

> [!NOTE]
> These extensions only provide mappings through annotations or attributes; if using annotations, you will need to ensure the deprecated [`doctrine/annotations`](https://www.doctrine-project.org/projects/annotations.html) library is installed and configured.
> These extensions only provide mappings through annotations or attributes, with support for annotations being deprecated. If using annotations, you will need to ensure the [`doctrine/annotations`](https://www.doctrine-project.org/projects/annotations.html) library is installed and configured.
### MongoDB ODM Mapping

Expand Down
2 changes: 1 addition & 1 deletion doc/frameworks/symfony.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ When using the [Loggable](../loggable.md), [Translatable](../translatable.md), o
need to register the mappings for these extensions to your object managers.
> [!NOTE]
> These extensions only provide mappings through annotations or attributes; if using annotations, you will need to ensure the deprecated [`doctrine/annotations`](https://www.doctrine-project.org/projects/annotations.html) library is installed and enabled.
> These extensions only provide mappings through annotations or attributes, with support for annotations being deprecated. If using annotations, you will need to ensure the [`doctrine/annotations`](https://www.doctrine-project.org/projects/annotations.html) library is installed and configured.

### MongoDB ODM Mapping

Expand Down

0 comments on commit 939086a

Please sign in to comment.