mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-08-25 12:48:26 +00:00
451b438902
* #256 Bypass a PHP warning generated by @dns_get_record The idea is to create a custom error handler for dns_get_record(), call dns_get_record and then restore the original error handler. This way we can catch PHP warnings (e.g. "Warning: dns_get_record(): DNS Query failed" or "dns_get_record(): A temporary server error occurred." [ErrorException]) * #256 Make `UnableToGetDNSRecord` reason more testable * #256 Suppress psalm’s false-positive error see https://github.com/vimeo/psalm/issues/5134#issuecomment-782937791 * #256 Speed up tests: start from previously failed * #256 Suppress psalm’s false-positive error We don’t have a control over AbstractLexer and can’t specify array shape in this parent class