Skip to content

Commit 28d74e5

Browse files
authored
Extend deprecation notice (#486)
1 parent f5c1c45 commit 28d74e5

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ which are a native replacement for annotations. As such, this library is
44
considered feature complete, and should receive exclusively bugfixes and
55
security fixes.
66

7+
We do not recommend using this library in new projects and encourage authors
8+
of downstream libraries to offer support for attributes as an alternative to
9+
Doctrine Annotations.
10+
11+
Have a look at [our blog](https://www.doctrine-project.org/2022/11/04/annotations-to-attributes.html)
12+
to learn more.
13+
714
# Doctrine Annotations
815

916
[![Build Status](https://github.com/doctrine/annotations/workflows/Continuous%20Integration/badge.svg?label=build)](https://github.com/doctrine/persistence/actions)

docs/en/index.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ which are a native replacement for annotations. As such, this library is
77
considered feature complete, and should receive exclusively bugfixes and
88
security fixes.
99

10+
We do not recommend using this library in new projects and encourage authors
11+
of downstream libraries to offer support for attributes as an alternative to
12+
Doctrine Annotations.
13+
14+
Have a look at [our blog](https://www.doctrine-project.org/2022/11/04/annotations-to-attributes.html)
15+
to learn more.
16+
1017
Introduction
1118
============
1219

@@ -38,7 +45,7 @@ You can install the Annotation component with composer:
3845

3946
.. code-block::
4047
41-
  $ composer require doctrine/annotations
48+
$ composer require doctrine/annotations
4249
4350
Create an annotation class
4451
==========================

0 commit comments

Comments
 (0)