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

Replace deprecated FILTER_SANITIZE_STRING #150

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Theta-Dev
Copy link

I replaced all instances of filter_var(x, FILTER_SANITIZE_STRING) with an equivalent polyfill.

This fixes the Deprecated: Constant FILTER_SANITIZE_STRING is deprecated warning messages in PHP8

Source: https://stackoverflow.com/a/69207369

@wheelybird
Copy link
Owner

Cheers. The next release has replaced FILTER_SANITIZE_STRING with FILTER_SANITIZE_FULL_SPECIAL_CHARS, which hasn't (yet) been deprecated, so I think that probably solves the issue.

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

Successfully merging this pull request may close these issues.

None yet

2 participants