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

Remove obsolete check if FILTER_FLAG_EMAIL_UNICODE is defined #772

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

W0rma
Copy link

@W0rma W0rma commented Jan 10, 2025

FILTER_FLAG_EMAIL_UNICODE is available in PHP 7.1 or higher https://www.php.net/manual/en/filter.constants.php#constant.filter-flag-email-unicode and this package does no longer support PHP 7.1 or lower.

Therefore the check can be safely removed.

Copy link
Collaborator

@DannyvdSluijs DannyvdSluijs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup @W0rma!

Two things that is needed before this can be merged.

  1. The pipeline is providing some feedback about an ignored error in PHPStan. Could you remove it from thephpstan-baseline.neon which can be done by running ./vendor/bin/phpstan --generate-baseline
  2. Could you add an entry i the CHANGELOG.md (link)[https://github.com/jsonrainbow/json-schema/blob/master/CHANGELOG.md] under changed?

@W0rma
Copy link
Author

W0rma commented Jan 14, 2025

@DannyvdSluijs Thank you for the review - Done!

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

Successfully merging this pull request may close these issues.

2 participants