egulias/email-validator breaking changes
egulias/email-validator 4.0.0 (January 7, 2023) is its newest release with breaking changes, 8 of them. The first: Removed Egulias\EmailValidator\EmailLexer::$lookahead. Every breaking API change we have recorded in egulias/email-validator on Packagist: 8 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.5, released November 22, 2026. MIT license. Source repository
Packages on Packagist run on PHP. PHP end of life dates.
egulias/email-validator 4.0.0 breaking changes
- Removed
Egulias\EmailValidator\EmailLexer::$lookahead
Egulias\EmailValidator\EmailLexer::$lookahead was removed in egulias/email-validator 4.0.0 packagist.org - Removed
Egulias\EmailValidator\EmailLexer::$token
Egulias\EmailValidator\EmailLexer::$token was removed in egulias/email-validator 4.0.0 packagist.org - Signature changed
Egulias\EmailValidator\EmailLexer::$previous
Was protected $previous; now protected Token $previous. packagist.org - Signature changed
Egulias\EmailValidator\EmailLexer::getPrevious
Was public function getPrevious() : array; now public function getPrevious(): Token. packagist.org - Signature changed
Egulias\EmailValidator\EmailLexer::getType
Was protected function getType(&$value); now protected function getType(&$value): int. packagist.org - Signature changed
Egulias\EmailValidator\Parser\DomainPart::checkDomainPartExceptions
Was protected function checkDomainPartExceptions(array $prev, bool $hasComments) : Result; now protected function checkDomainPartExceptions(Token $prev, bool $hasComments): Result. packagist.org - Signature changed
Egulias\EmailValidator\Result\InvalidEmail::$reason
Was protected $reason; now protected Reason $reason. packagist.org - Signature changed
Egulias\EmailValidator\Warning\Warning::__toString
Was public function __toString(); now public function __toString(): string. packagist.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.