-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adjust to new PHP annotation syntax #86
Comments
Initial syntactic support added to xp-framework/ast xp-framework/ast#7 though still missing inline attributes and support for multiple arguments |
The pull request xp-framework/ast#7 can now be merged; and the dependency updated accordingly. |
1️⃣ First step released in https://github.com/xp-framework/compiler/releases/tag/v5.2.0 |
2️⃣ With named arguments support in https://github.com/xp-framework/compiler/releases/tag/v5.3.0, we can now support rewriting annotations to more idiomatic PHP |
3️⃣ With xp-framework/ast#9 merged, deprecation notices will be emitted (but production code continues to work!) |
4️⃣ Released officially along with https://github.com/xp-framework/compiler/releases/tag/v5.4.0 |
Use #[...] instead of << >>, see https://wiki.php.net/rfc/shorter_attribute_syntax
<< >>
syntax in order to make unittests fail but production code work in next minor release<< >>
in next major releaseThe text was updated successfully, but these errors were encountered: