Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Address deprecation of ReflectionType::getClass()#36891
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
derrabus commentedMay 21, 2020
What should I do about the fabbot failures? They're unrelated to my changes. Submit a separate PR to fix them or ignore them? |
nicolas-grekas commentedMay 21, 2020
They are false positives. We could rewrite the code a bit to prevent fabbot from generating these patches (using concat I guess). In this PR or another as you wish. |
32443e4 to53b1677Comparederrabus commentedMay 21, 2020
Test failures on php 5.5 have been resolved. Travis is green now. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas commentedMay 23, 2020
Thank you@derrabus. |
…eflectionParameter::getClass() (derrabus)This PR was merged into the 4.4 branch.Discussion----------[OptionsResolver][Serializer] Remove calls to deprecated ReflectionParameter::getClass()| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets |#36872| License | MIT| Doc PR | N/AFollowing#36891, this PR removes the remaining calls to `ReflectionParameter::getClass()` from the 4.4 branch.Commits-------1575d85 Remove calls to deprecated ReflectionParameter::getClass().
Calling
ReflectionType::getClass()will trigger a deprecation warning on php 8. This PR switches togetType()if available.