Skip to content

Releases: egulias/EmailValidator

PHPUnit & test depencis upgrade

15 Nov 23:41
Compare
Choose a tag to compare
2.1.3

Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase …

Compatibility with RFC 2181

03 Feb 22:50
Compare
Choose a tag to compare

Compatibility with RFC 2181

According to RFC2181, every DNS query needs to have a . at the end of
the name record you are requesting.

This will show that that name record is the root of the domain you are
asking
In some cases, when the . is missing, the hostname of the server the
code is running on will be appended to the name record when
checkdnsrr() is being executed and this will in turn return a false
positive when there is a wildcard DNS record for the root domain of the
hostname of the server.

Compatibility with RFC 2181

30 Jan 22:09
Compare
Choose a tag to compare

Compatibility with RFC 2181

According to RFC2181, every DNS query needs to have a . at the end of
the name record you are requesting.

This will show that that name record is the root of the domain you are
asking
In some cases, when the . is missing, the hostname of the server the
code is running on will be appended to the name record when
checkdnsrr() is being executed and this will in turn return a false
positive when there is a wildcard DNS record for the root domain of the
hostname of the server.

Readme update & Bug fixing

07 Aug 21:23
Compare
Choose a tag to compare
  • #123 Readme
  • #124 Returned errors for multiple validations
  • #126 Fix NoRFCValidation to return InvalidEmail error

MultipleValidationWithAnd has new options

16 Jul 21:20
Compare
Choose a tag to compare

Allow MultipleValidationWithAnd to stop with the first failure.

DNSCheck bugs and poilshing

05 Jul 21:53
Compare
Choose a tag to compare
  • Fix #115 - fixed DNSCheckValidation bug
  • Fix #112 - typo
  • Fix #116 - fixed some more problems in DNSCheckValidation
  • Fix #117 - fixed type missing and removed unused code
  • Feature #113 - Improve lib export feature by providing less code, making it thinner.

EmailValidator interface

05 Jul 21:34
Compare
Choose a tag to compare

To allow for substitution where needed

New interface

16 May 17:24
Compare
Choose a tag to compare

Features

New interface

Changed isValid method interface to
EmailValidator::isValid(String $email, EmailValidation $validation)
This allows for extensibility of the validator.

Out of the box implementations

  1. RFCValidation
  2. NoWarningsRFCValidation
  3. DNSCheckValidation
  4. SpoofCheckValidation
  5. MultipleValidationsWithAnd

Custom Warnings and Errors (Exceptions)

Since this version, all errors and Exceptions are custom to better express the error or warning

Bugs

Backslash in domain bug fix

16 May 17:00
Compare
Choose a tag to compare
  • Documentation editions
  • Backslash in domain bug fix (#74)

Orphan brackets

11 Nov 03:29
Compare
Choose a tag to compare