BenHarris
840d5603eb
Reimplement DNSCheckValidation ( #250 )
...
* Reimplement DNSCheckValidation to utilise get_dns_record and extend support for detection of Null MX records (RFC7505) and reserved, mDNS and private namespaces (RFC2606 & RFC6762)
* Change valid email tests to use github.com instead of example.com as example.com now (correctly) fails the tests due to the Null MX case
* Tweak to pass CI psalm issue
* Encapsulate dns check code. Simplify local and reserved domain checks. Switch test domain
* Set PHPDoc return type
* Use strict comparisons
2020-08-08 23:28:19 +02:00
Simon Schaufelberger
cfa3d44471
Move files in typical src and tests folder ( #242 )
...
* Move files in typical src and tests folder
* Fix psalm error
2020-06-16 22:11:17 +02:00
Eduardo Gulias Davis
4505d2060a
New home for all the tests. Fixed namespaces ( #105 )
...
* New home for all the tests. Fixed namespaces
* small code improvement
* Skipping tests failing only in Travis
2016-05-15 11:46:59 +02:00
Eduardo Gulias Davis
68aae522c4
moving code around
2016-05-07 15:45:55 +02:00
Roland Franssen
102932acf8
check for escaped double quotes in local part ( #102 )
2016-05-02 16:04:07 +02:00
Eduardo Gulias Davis
8c4213336e
#64 NoRFCWarnings ( #99 )
2016-04-30 16:04:24 +02:00
Eduardo Gulias Davis
6484b80486
DNS validation. Closes #63 ( #98 )
2016-04-30 14:02:24 +02:00
Eduardo Gulias Davis
ed861e1696
RFCValidation strategy, multiple validation ( #96 )
...
closes #62
2016-04-30 12:35:17 +02:00
Eduardo Gulias Davis
0f768c989e
#62 - Change validation interface
2016-04-30 00:48:07 +02:00
Eduardo Gulias Davis
fa5dd33577
#66 custom warnings ( #94 )
...
close #66 custom warnings
2016-04-29 01:02:18 +02:00
Eduardo Gulias Davis
d29b96ba7c
Merge branch 'master' into 60-custom-exceptions
...
Conflicts:
src/Egulias/EmailValidator/Parser/DomainPart.php
src/Egulias/EmailValidator/Parser/LocalPart.php
src/Egulias/EmailValidator/Parser/Parser.php
tests/egulias/Tests/EmailValidator/EmailValidatorTest.php
2015-10-12 11:53:11 +02:00
Andrei Sozonov
eb1755efbf
#80 validate number of closing parenthesis
2015-10-02 12:42:25 +03:00
Eduardo Gulias Davis
4ab34b1c72
CRNoLF
2015-06-26 15:10:20 +02:00
Eduardo Gulias Davis
5f813d9511
unclosed comment
2015-06-26 14:52:06 +02:00
Eduardo Gulias Davis
a9d35f2e2c
Unclosed quoted string
2015-06-26 14:45:02 +02:00
Eduardo Gulias Davis
76e52cc5ce
Domain Hyphened
2015-06-25 22:05:20 +02:00
Eduardo Gulias Davis
f69cd9e42f
Dot at the end
2015-06-25 22:00:09 +02:00
Eduardo Gulias Davis
7f7734e3d9
ExpectingATEXT
2015-06-25 21:44:05 +02:00
Eduardo Gulias Davis
4acf8db902
Atext after CFWS
2015-06-25 21:20:31 +02:00
Eduardo Gulias Davis
191fd96588
No Domain Part
2015-06-25 21:04:42 +02:00
Eduardo Gulias Davis
0692245d38
NoLocalPart
2015-06-25 20:56:51 +02:00
Eduardo Gulias Davis
94f55b7cc9
Dtext exception and improvement over exception InvalidEmail
2015-06-25 20:50:33 +02:00
Eduardo Gulias Davis
8ca3f0373d
Consecutive AT
2015-06-25 20:25:29 +02:00
Eduardo Gulias Davis
f4b154c169
Custom exception for dot at start
2015-06-25 20:11:07 +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
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
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
fec1609458
Update tests for DNSCheck
2015-01-04 17:24:36 +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
7a64ea18af
Merge pull request #38 from egulias/improved-utf8
...
#30 - Improved utf8
2014-11-29 10:09:14 +01:00
Eduardo Gulias Davis
9103f4f99b
#30 - Improved control for UTF8 chars
2014-11-29 10:05:19 +01:00
Eduardo Gulias Davis
3f623e9006
Merge pull request #37 from egulias/multiple_spaces
...
#36 - Multiple spaces in local part
2014-11-17 01:23:05 +01:00
Eduardo Gulias Davis
833eb65135
#30 - [WIP] - improve utf-8 control
2014-11-17 01:18:11 +01:00
Eduardo Gulias Davis
e61481fefb
#36 - Multiple spaces in local part
2014-11-16 19:15:26 +01:00
Christian Raue
05367768d6
improved tests for strict checking
2014-11-04 14:01:13 +01:00
Eduardo Gulias Davis
749b423775
#32 - Fixed usage of DNS check and strict parameter
2014-11-03 00:05:58 +01:00
Eduardo Gulias Davis
82fb2d6ce1
Remove under development tests emails
2014-10-26 22:55:42 +01:00
Eduardo Gulias Davis
18df863858
#18 - [WIP] - Almost done with erros, dobule backslask left and utf8 chars
2014-10-14 00:48:32 +02:00
Eduardo Gulias Davis
39b451bb2b
#19 and #10 - Improvement of QuotedPart parsing
2014-09-02 00:35:48 +02:00
Eduardo Gulias Davis
82f8514d89
COMMA is not allowed in domain part
2014-08-22 01:05:58 +02:00
Eduardo Gulias Davis
e0691bc67d
Removed not needed test
2014-07-06 19:03:12 +02:00
Eduardo Gulias Davis
f7402dd8dc
[WIP] - Comments bug and comments improvemente
2014-07-03 00:55:00 +02:00
Eduardo Gulias Davis
679128b980
Uncommented test
2014-07-02 18:53:46 +02:00
Eduardo Gulias Davis
6306334f79
[WIP] - test passing for the new structure
2014-07-02 18:17:56 +02:00
Eduardo Gulias Davis
f679da922a
Refactor to methods for IPv4 and 6 tags
2014-05-08 17:33:52 +02:00
Eduardo Gulias Davis
f064a58611
FWS in localpart tests and FWS sorrounding '@' as invalid emails
2014-01-13 00:12:24 +01:00
Eduardo Gulias Davis
f61c17d6fe
Allow for non-ascii chars as valid emails chars
2013-12-08 18:42:31 +01:00
Eduardo Gulias Davis
99b4f8e448
Merge branch 'master' of github.com:egulias/EmailValidator
2013-08-28 11:11:03 +02:00