-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Flag the package as abandoned on Packagist #485
Comments
Sure! Two things I think we should do:
|
Agreed.
Well, we have https://www.doctrine-project.org/2022/11/04/annotations-to-attributes.html. |
see #486. |
Totally forgot about it 🙈 |
This blog post refers to migrating the ORM annotations (the initial parts explaining the history is not specific to the ORM but the rector-based migration is). Side note: the Symfony framework is currently working on deprecating its support for annotations in its various components. Maybe marking the package as abandoned could wait until after the 6.4 and 7.0 releases of Symfony (scheduled for end of November), to avoid getting tons of reports saying that users of Symfony cannot stop using this abandoned package yet. |
Sure, but it showcases how the ORM did the trick.
Certainly!
But they can! Doctrine Annotations has always been an optional dependency for Symfony and everything they need to replace them is in Symfony 6.3 already. |
With the introduction of native attributes to the PHP language, the Doctrine Annotations package has become legacy.
Since PHP attributes are an equal or better replacement in every aspect, we should take steps to flush out doctrine/annotations of the package ecosystem. The primary goal would be that no actively maintained composer package should list the
doctrine/annotations
package as a mandatory dependency in their latest release. Instead, PHP attributes should be offered as an alternative, so downstream projects can migrate at their own pace.I wonder if flagging the package as abandoned would help in that regard. It would make Composer issue a warning when installing dependencies. Maintainers of PHP applications can check why
doctrine/annotations
is still in their dependencies.doctrine/annotations
optional.Thoughts?
The text was updated successfully, but these errors were encountered: