-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add ReflectionProperty::getMangledName()
#18980
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
base: master
Are you sure you want to change the base?
Conversation
ef72bbf
to
b6188b6
Compare
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! The implementation looks correct. You may want to avoid printing the mangled name directly in the test, given that it will make the file appear as a binary file. Maybe print the hex value instead, or replace the special chars (i.e. \0
to \\0
).
9022201
to
5dd71d0
Compare
Nice idea! PR updated, thanks! |
FWIW: The test format also supports the Line 2886 in 4a98b36
|
I tried to swap for |
Maybe you forgot to switch to EXPECTF? |
5dd71d0
to
dd598de
Compare
Exactly this 🤦 Thank you! |
Thanks! LGTM. Waiting on @DanielEScherzer's review as reflection maintainer. |
Fix #18605
Good news is that we'll be able to leverage this in the next version of Symfony.