* Fixes issue for email addresses with single quote in domain part
* specify version in cli for older php versions
Co-authored-by: Eduardo Gulias Davis <eduardomgulias@gmail.com>
* Reimplement DNSCheckValidation to utilise get_dns_record and extend support for detection of Null MX records (RFC7505) and reserved, mDNS and private namespaces (RFC2606 & RFC6762)
* Change valid email tests to use github.com instead of example.com as example.com now (correctly) fails the tests due to the Null MX case
* Tweak to pass CI psalm issue
* Encapsulate dns check code. Simplify local and reserved domain checks. Switch test domain
* Set PHPDoc return type
* Use strict comparisons
* experimenting with psalm
* loading in symfony polyfill, partially resolvesegulias/EmailValidator#177, but SpoofChecker does not seem to be polyfilled in symfony/polyfill-intl-*
* removing unused imports, fixesegulias/EmailValidator#168 and egulias/EmailValidator#169
* not actually used for object storage
* Egulias\Tests\EmailValidator\Validation\SpoofCheckValidationTest::testEmailWithSpoofsIsInvalid fails if extension is not installed
* satisfying psalm
* amending indentation
* disabling psalm on 5.6
* attempting to resolve psalm issue on 7.0 & 7.1
* dropping psalm from 7.0 matrix
* ext-intl removed as per egulias/EmailValidator#231
* updating baseline with psalm 3.8.3
* suppressing issue with Spoofchecker not being present, pending resolution of egulias/EmailValidator#231
* enable psalm on travis config for php 7.3
* lockfile is not present in git repo
* correcting autoloader
* package is listed on packagist, repo listing in composer.json causes install issues on windows
Co-authored-by: Eduardo Gulias Davis <eduardomgulias@gmail.com>
* Update MultipleValidationWithAnd.php
Fix all validations actually get executed when mode is ALLOW_ALL_ERRORS (1)
* this should validate not breake out.
* Actually fix the unit tests
* add real invalid email test
* INTL_IDNA_VARIANT_UTS46 is not supported on all systems
Fall back to INTL_IDNA_VARIANT_2003 if INTL_IDNA_VARIANT_UTS46 is not found.
* Fix syntax error
* Update DNSCheckValidation.php