Skip to content

Conversation

@W0rma
Copy link
Contributor

@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
Contributor Author

W0rma commented Jan 14, 2025

@DannyvdSluijs Thank you for the review - Done!

@DannyvdSluijs DannyvdSluijs merged commit d212eca into jsonrainbow:master Jan 20, 2025
14 checks passed
@W0rma W0rma deleted the fix-php71-version-check branch January 21, 2025 06:02
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