Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[VarDumper] ReflectionFunction::isDisabled() is deprecated#36899

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

Conversation

@derrabus
Copy link
Member

@derrabusderrabus commentedMay 22, 2020
edited
Loading

QA
Branch?3.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets#36872
LicenseMIT
Doc PRN/A

Seephp/php-src#5473. CallingReflectionFunction::isDisabled() is pointless on php 8 and doing so triggers a deprecation warning.

Someone who is more familiar with that component might want to have a second look on this PR. I'm not really sure if this is the right way to fix the issue.

@nicolas-grekas
Copy link
Member

I would suggest to patch addMap instead:

if (\PHP_VERSION_ID >=80000 &&'isDisabled' ===$m) {continue;}
derrabus reacted with thumbs up emoji

@derrabusderrabusforce-pushed thebugfix/function-is-disabled-deprecation branch from9c21cfd to1da347eCompareMay 22, 2020 18:50
@nicolas-grekas
Copy link
Member

Thank you@derrabus.

@nicolas-grekasnicolas-grekas merged commitfb91dc2 intosymfony:3.4May 23, 2020
@derrabusderrabus deleted the bugfix/function-is-disabled-deprecation branchMay 23, 2020 07:39
This was referencedMay 26, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

3 participants

@derrabus@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp