@psalm-suppress InvalidArgument
Overrides EmailValidation::isValid
public function isValid(string $email, EmailLexer $emailLexer) : bool { $checker = new Spoofchecker(); $checker->setChecks(Spoofchecker::SINGLE_SCRIPT); if ($checker->isSuspicious($email)) { $this->error = new SpoofEmail(); } return $this->error === null; }