Replies: 1 comment
-
You may looking on configurable INLINE_PUBLIC on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently
PropertyTypeFromStrictSetterGetterRector
only allowsprivate
untyped properties, so the overall logic can ensure that only this class reads/writes to the attribute with a given type. 👍In our codebase we have lots of
protected
properties, because historically Doctrine/JMS/... had serialization problems withprivate
properties.If accepted, I would like to raise a PR that - by default - only allows
private
properties (as currently), but allows to configure the rector with different allowed flags:Thanks for your feedback!
This would allow eg. for one-off modification of the code-base.
Beta Was this translation helpful? Give feedback.
All reactions