How to make ClassPropertyAssignToConstructorPromotionRector aware of Doctrine's docblock #6838
Unanswered
ancient-spirit
asked this question in
Q&A
Replies: 1 comment 11 replies
-
Hi, thanks for reporting. This looks like a bug. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, how to make ClassPropertyAssignToConstructorPromotionRector aware of Doctrine's docblock?
here the rector remove the class property (
private $user;
) that have Doctrine's docblockthe snippet code available on https://getrector.org/demo/1ec4f32a-9653-6448-b2fd-65d194c70ecf
Thank you in advance 🙏
Beta Was this translation helpful? Give feedback.
All reactions