8000 PHP-DI 7: Drop support for `@Inject` annotations in favor of attributes by mnapoli · Pull Request #812 · PHP-DI/PHP-DI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PHP-DI 7: Drop support for @Inject annotations in favor of attributes #812

New issue

Have a question about this project? 8000 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

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

mnapoli
Copy link
Member
@mnapoli mnapoli commented Apr 9, 2022

PHP-DI 7 will support PHP 8.0 only. PHP 8.0 provides native attributes to replace phpdoc annotations.

Let's entirely replace phpdoc annotations with PHP 8 attributes.

This solves #718 as we can drop entirely the requirement of Doctrine Annotations.

@mnapoli mnapoli added this to the 7.0 milestone Apr 9, 2022
@mnapoli mnapoli force-pushed the drop-annotations branch from ddee0a4 to c3891b0 Compare April 9, 2022 18:35
This was referenced Apr 9, 2022
@mnapoli mnapoli merged commit 8d35559 into v7 Apr 12, 2022
@mnapoli mnapoli deleted the drop-annotations branch April 12, 2022 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0