-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Reflection: indicate final and abstract properties in string output #17827
Conversation
CC @iluuu1994 - my understanding is that final properties was added as a part of property hooks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Indeed, this was missed in the implementation. This should also add abstract
, which was added in the same PR. It should also target 8.4+.
438de46
to
1334776
Compare
Added I didn't send this to 8.4 originally since it isn't really a bug, but retargeted. I was planning to also work on some kind of indication of property hooks in a follow-up, should that also go to 8.4? |
I would classify this as a bug. Whether your other PR should target 8.4 depends on whether it's a bug. 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM otherwise
Add "final" and "abstract" to the result of `_property_string()` when outputting the string representation of a `ReflectionClass` or `ReflectionProperty` instance
1334776
to
b4f19dd
Compare
Fixed whitespace and squashed the commits |
Thank you @DanielEScherzer! |
Add "final" and "abstract" to the result of
_property_string()
when outputting the string representation of aReflectionClass
orReflectionProperty
instance