auraphp / Aura.Filter

Validate and sanitize arrays and objects.
MIT License
159 stars 33 forks source link

idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated #138

Closed merlindiavova closed 2 years ago

merlindiavova commented 5 years ago

PHP 7.2 is reporting idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated. src: src/Rule/Validate/Email.php:413

Are there any plans to update this - I could do a pull request?

harikt commented 5 years ago

Send a PR to 3.x branch.

harikt commented 5 years ago

Oh and if there is no BC break, you can send to 2.x as well.

harikt commented 2 years ago

I think this is no longer an issue for all tests is working on github actions.

harikt commented 2 years ago

I just noticed this error poping up. Reopening it.

harikt commented 2 years ago

Now it is using INTL_IDNA_VARIANT_UTS46 by default on 4.x. So hope this can be resolved for now.