We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See https://getrector.org/demo/1ebe1ace-8ebf-6ea6-9517-4b02d8c44417
<?php use Doctrine\ORM\Mapping\Column; class DemoEntity { /** @Column */ private string $normalProperty; public function __construct( /** @Column */ private string $promotedProperty, ) { } }
AnnotationToAttributeRector
$promotedProperty should also have its annotation replaced with an attribute.
$promotedProperty
The text was updated successfully, but these errors were encountered:
Thank you for your report and demo link!
Could you send a failing test case in a pull-request, so we have it covered in Rector? Here is step by step tutorial how to add it: https://github.com/rectorphp/rector/blob/master/docs/how_to_add_test_for_rector_rule.md
Sorry, something went wrong.
see rectorphp/rector-src#425
Closing as fixed at rectorphp/rector-src#425
Updated Rector to commit 5e50b8ad1c5c125178778f230fae5ee25eda3896
5b38230
rectorphp/rector-src@5e50b8a enable error-format symplify (#6566)
No branches or pull requests
Bug Report
Minimal PHP Code Causing Issue
See https://getrector.org/demo/1ebe1ace-8ebf-6ea6-9517-4b02d8c44417
Responsible rules
AnnotationToAttributeRector
Expected Behavior
$promotedProperty
should also have its annotation replaced with an attribute.The text was updated successfully, but these errors were encountered: