Skip to content
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

Deprecated internal PHP properties and constants #44

Open
ondrejmirtes opened this issue Oct 11, 2021 · 2 comments
Open

Deprecated internal PHP properties and constants #44

ondrejmirtes opened this issue Oct 11, 2021 · 2 comments

Comments

@ondrejmirtes
Copy link
Member

phpstorm-stubs sometimes mark properties and constants as deprecated, but PHP reflection doesn't have methods to surface that information. Fortunately BetterReflection can surface that, although we might have to check method_exists before calling ->isDeprecated().

@ondrejmirtes
Copy link
Member Author

@eigan
Copy link

eigan commented Sep 28, 2023

FILTER_SANITIZE_STRING was deprecated in 8.1 but is not reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants