Skip to content

Commit

Permalink
Extend deprecation notice (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Sep 5, 2024
1 parent f5c1c45 commit 28d74e5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ which are a native replacement for annotations. As such, this library is
considered feature complete, and should receive exclusively bugfixes and
security fixes.

We do not recommend using this library in new projects and encourage authors
of downstream libraries to offer support for attributes as an alternative to
Doctrine Annotations.

Have a look at [our blog](https://www.doctrine-project.org/2022/11/04/annotations-to-attributes.html)
to learn more.

# Doctrine Annotations

[![Build Status](https://github.com/doctrine/annotations/workflows/Continuous%20Integration/badge.svg?label=build)](https://github.com/doctrine/persistence/actions)
Expand Down
9 changes: 8 additions & 1 deletion docs/en/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ which are a native replacement for annotations. As such, this library is
considered feature complete, and should receive exclusively bugfixes and
security fixes.

We do not recommend using this library in new projects and encourage authors
of downstream libraries to offer support for attributes as an alternative to
Doctrine Annotations.

Have a look at [our blog](https://www.doctrine-project.org/2022/11/04/annotations-to-attributes.html)
to learn more.

Introduction
============

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

.. code-block::
  $ composer require doctrine/annotations
$ composer require doctrine/annotations
Create an annotation class
==========================
Expand Down

0 comments on commit 28d74e5

Please sign in to comment.