Skip to content

Commit

Permalink
Merge pull request #453 from greg0ire/deprecate-package
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Oct 5, 2022
2 parents 516c188 + cbc5a51 commit a31ff39
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
@@ -1,3 +1,9 @@
⚠️ PHP 8 introduced
[attributes](https://www.php.net/manual/en/language.attributes.overview.php),
which are a native replacement for annotations. As such, this library is
considered feature complete, and should receive exclusively bugfixes and
security fixes.

# Doctrine Annotations

[![Build Status](https://github.com/doctrine/annotations/workflows/Continuous%20Integration/badge.svg?label=build)](https://github.com/doctrine/persistence/actions)
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Expand Up @@ -45,6 +45,9 @@
"symfony/cache": "^4.4 || ^5.4 || ^6",
"vimeo/psalm": "^4.10"
},
"suggest": {
"php": "PHP 8.0 or higher comes with attributes, a native replacement for annotations"
},
"autoload": {
"psr-4": {
"Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations"
Expand Down
9 changes: 9 additions & 0 deletions docs/en/index.rst
@@ -1,3 +1,12 @@
Deprecation notice
==================

PHP 8 introduced `attributes
<https://www.php.net/manual/en/language.attributes.overview.php>`_,
which are a native replacement for annotations. As such, this library is
considered feature complete, and should receive exclusively bugfixes and
security fixes.

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

Expand Down

0 comments on commit a31ff39

Please sign in to comment.