Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: update deprecated filter constant #34

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

o-samaras
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Compatibility fix

What is the current behavior? (You can also link to an open issue here)
Usage of the FILTER_SANITIZE_STRING constant, which is deprecated as of PHP 8.1.0

What is the new behavior (if this is a feature change)?
Switch from FILTER_SANITIZE_STRING to FILTER_SANITIZE_SPECIAL_CHARS

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Other information:

Signed-off-by: Orestis Samaras <66624212+o-samaras@users.noreply.github.com>
@o-samaras o-samaras requested a review from Biont August 9, 2024 09:04
@Biont Biont merged commit 2ec7c01 into main Aug 9, 2024
11 checks passed
@Biont Biont deleted the fix/deprecated-filter-constant branch August 9, 2024 12:19
@Biont Biont restored the fix/deprecated-filter-constant branch August 9, 2024 12:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants