147 Commits

Author SHA1 Message Date
Graham Campbell 19674b35a0 Update .gitignore (#224) 1.2.17 2020-04-11 14:59:45 +02:00
Michele Locati 92fd7ea285 Fix PHP 7.4 support for 1.x (#206) 1.2.16 2019-12-30 09:17:06 +01:00
Graham Campbell 0d6268fde5 [1.2] PHP 7.4 Support (#222)
* Fixes

* Backport PHP 7.4 support from 2.x

Co-Authored-By: mlocati <michele@locati.it>

* Added php-coveralls

Co-authored-by: Michele Locati <michele@locati.it>
2019-12-30 09:16:03 +01:00
Michele Locati e7dacfc97f Fix TravisCI for 1.x (#207)
* Fix TravisCI for 1.x

* Use --ignore-platform-reqs for PHP Nightly

* Move code coverage job to 1st position

So that Scrutinizer receives data as soon as possible
2019-08-08 08:36:44 +02:00
Michele Locati 758a77525b [1.x] Fix result of isValid when DNS lookup fails and strict is false (#172)
* Fix result of isValid when DNS lookup fails and strict is false

* Fix TravisCI for PHP 5.3

* Fix tests (isValid now returns false in case of errors in MX DNS lookups)

* Cache composer files

* Run TravisCI tests for PHP 7.1 and 7.2

* Use the PHPUnit installed by composer, not the system one

* Cache only composer packages, not their metadata
1.2.15
2018-09-25 22:59:41 +02:00
Sebastiaan Provost 5642614492 Backporting the changes made in #139 (#140)
* Backporting the changes made in https://github.com/egulias/EmailValidator/pull/139 so this functionality is also accessible in the 1.2.x releases.
This fix allows for more compliance with the DNS RFC. Explanation here: https://github.com/egulias/EmailValidator/pull/139/commits/08bac068c26edd210daa259a2819d7dfd7438091
1.2.14
2017-02-03 23:48:59 +01:00
Chris McCafferty b8bb147f46 Added EmailValidatorInterface (#120) 1.2.13 2016-07-03 23:52:18 +02:00
Eduardo Gulias Davis cbfe3ee6f7 Added test proof (#110) 1.2.12 2016-05-15 12:06:34 +02:00
Christian Flothmann 4b59310c1a fix version constraints (#109) 2016-05-15 11:16:58 +02:00
Eduardo Gulias Davis f463fbe542 Changed invalid dns domains and backslash in domain (#107)
Fixes #91 and #74 for v1.2.x
2016-05-15 01:10:54 +02:00
Eduardo Gulias Davis afc6adc0b9 Merge pull request #89 from natechicago/minor-edits
Adding documentation and consolidating some code for readability
2016-03-22 09:34:08 +01:00
natechicago 58e44fb064 Adding documentation, and making a few minor code changes for readability. 2016-03-15 18:57:49 -05:00
Eduardo Gulias Davis 04c6cdf987 Merge pull request #84 from egulias/82-brackets
#82 orphan brackets
1.2.11
2015-11-11 04:28:32 +01:00
Eduardo Gulias Davis cc9defe645 fixes #82 2015-11-11 04:24:15 +01:00
Eduardo Gulias Davis 50aaa0b18f Control tests for .com.xx domains 2015-11-11 03:59:45 +01:00
Andrei Sozonov de448a30fa opened parenthesis converted to class field 1.2.10 2015-10-12 00:34:23 +02:00
Andrei Sozonov a7b385301d #80 validate number of closing parenthesis 2015-10-12 00:34:23 +02:00
Eduardo Gulias Davis f6447f8b99 Merge pull request #77 from alexpott/patch-1
Remove duplicated tokens
2015-07-16 08:29:32 +02:00
alexpott d4001715b2 Update EmailLexer.php
Removing duplicate array keys
2015-07-15 15:39:42 +01:00
Eduardo Gulias Davis 4b7fcf6796 Merge pull request #75 from xabbuh/patch-1
update installation instructions
2015-06-29 23:49:12 +02:00
Christian Flothmann 2a1145ffbf update installation instructions
Given that Composer will install the latest version of a package
matching the stability restrictions that apply to project, users can
get an undesired version of package when they don't specify a version
constraint.
2015-06-26 19:35:00 +02:00
Eduardo Gulias Davis af864423f5 Composer udpates 1.2.9 2015-06-22 23:07:51 +02:00
Eduardo Gulias Davis 12f16f70aa Merge pull request #70 from cilefen/master
Replaces dos-type line endings. Fixes issue #69.
2015-05-18 23:32:19 +02:00
Chris McCafferty 0afaa6a3b6 Replaces dos-type line endings. Fixes issue #69. 2015-05-17 16:37:57 -04:00
Eduardo Gulias Davis 5631c3fe2e Merge pull request #59 from egulias/next-min-ver
Improve UTF8 detection, domain part validation, others
1.2.8
2015-04-26 17:49:00 +02:00
Eduardo Gulias Davis c383717824 Improve UTF8 detection within the regexp, update tests for non-ascii char, fix #55 2015-04-26 17:38:14 +02:00
Eduardo Gulias Davis aabed98198 Improve domain part controls for non allowed chars. Fix #57 for DQUOTE 2015-04-26 17:38:14 +02:00
Eduardo Gulias Davis 3b0fd01aa3 Merge pull request #58 from xabbuh/travis-config
update Travis configuration
2015-04-23 11:44:43 +02:00
Christian Flothmann 4efe697504 update Travis configuration
* run builds on the container-based infrastructure
* add a build for PHP 7
* report the build status as soon as possible (either when a mandatory
  job fails or when only jobs allowed to fail are left)
2015-04-23 10:08:34 +02:00
Eduardo Gulias Davis 7a4c5714f5 Merge pull request #50 from xabbuh/test-deps
test low and high dependency versions
2015-04-23 00:10:58 +02:00
Eduardo Gulias Davis 0a26375a7a Merge pull request #54 from xabbuh/update-readme-markdown
fix readme markup
2015-03-08 01:24:16 +01:00
Christian Flothmann 773fe5f4a3 fix readme markup
Before, the character would have been rendered as is instead of being
treated as the final character of the headline.
2015-03-05 20:05:56 +01:00
Eduardo Gulias Davis 4a209951ee Merge pull request #49 from DavidPrevot/lexer
The latest php-doctrine-lexer is needed
2015-02-08 22:30:23 +01:00
Christian Flothmann a8b0bab5aa test low and high dependency versions 2015-02-06 10:43:29 +01:00
David Prévot cc0b91f311 The latest php-doctrine-lexer is needed
The tests actually fail with version 1.0.
2015-02-03 14:23:48 -04:00
Eduardo Gulias Davis 8092ecaeff Merge pull request #48 from 0x46616c6b/tests-doubledot-german-umlauts
Tests: Double dots in domain part, German Umlauts as valid e-mail
2015-01-27 01:03:43 +01:00
Eduardo Gulias Davis f19defb373 Merge pull request #47 from 0x46616c6b/vendors-phpunit
add phpunit to require-dev
2015-01-27 01:02:44 +01:00
louis 9a518fb1bd extends tests with invalid domain part with two dots and valid email with german umlauts 2015-01-26 14:13:13 +01:00
louis 9b184605e8 add phpunit to require-dev 2015-01-26 14:05:53 +01:00
Eduardo Gulias Davis 7a4842c60f Merge pull request #45 from kbond/semicolon-name
added test for email with semi-colon in name
2015-01-05 23:23:13 +01:00
Kevin Bond 687ab6a66e added test for email with semi-colon in name 2015-01-05 11:39:38 -05:00
Eduardo Gulias Davis 116d4054fa #21 - Test for words after domain part 2015-01-04 23:54:28 +01:00
Eduardo Gulias Davis af9417f765 #40 - require latest lexer 1.2.7 2015-01-04 23:42:32 +01:00
Eduardo Gulias Davis ab0bcfb424 Merge pull request #44 from egulias/kbond-semicolon-fail
From #43 - Kbond semicolon fail
2015-01-04 17:36:06 +01:00
Eduardo Gulias Davis 833b3e7924 #41 - Semicolon in domain 2015-01-04 17:28:58 +01:00
Eduardo Gulias Davis fec1609458 Update tests for DNSCheck 2015-01-04 17:24:36 +01:00
Eduardo Gulias Davis add559b99c Add PhpStorm logo
Thanks for supporting!
2015-01-04 17:03:09 +01:00
Kevin Bond 19e390d863 added failing test for email with semi-colon in domain 2014-12-18 11:00:21 -05:00
Eduardo Gulias Davis 5320c26b38 Merge pull request #39 from shakaran/patch-1
Rename Ohter.md to Other.md
2014-11-30 19:03:44 +01:00
Ángel Guzmán Maeso 3b6ab3bcd5 Rename Ohter.md to Other.md
Fix small filename typo.
2014-11-30 02:17:28 +01:00