Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Parse and render anonymous classes correctly on php 8#36914
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Parse and render anonymous classes correctly on php 8#36914
Uh oh!
There was an error while loading.Please reload this page.
Conversation
2a057ad to6669181Compare
nicolas-grekas left a comment
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.
grep 'class@' src/ -r gives a few more places, isn't it? egsrc/Symfony/Component/Messenger/Middleware/TraceableMiddleware.php
Uh oh!
There was an error while loading.Please reload this page.
6669181 tod362a7cComparece625dc tof2fccb4Comparef2fccb4 toc23c5afComparec23c5af to9d702fdComparenicolas-grekas commentedMay 24, 2020
Thank you@derrabus. |
The format of the value that
get_class()returns for anonymous classes has changed in php 8. This PR attempts to detect both formats, with the help of the PHP80 polyfill where possible.