134 Commits

Author SHA1 Message Date
Eduardo Gulias Davis e2e234c4d8 merging from master, folder structure change 2020-08-30 15:59:42 +02:00
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 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 c3a5dfb681 opened parenthesis converted to class field 2015-10-06 10:48:39 +03:00
Andrei Sozonov eb1755efbf #80 validate number of closing parenthesis 2015-10-02 12:42:25 +03:00
Eduardo Gulias Davis d915e443f5 New exception 2015-08-15 23:49:12 +02:00
Eduardo Gulias Davis 4ab34b1c72 CRNoLF 2015-06-26 15:10:20 +02:00
Eduardo Gulias Davis 66700c97f5 CRLF at the end 2015-06-26 15:05:29 +02:00
Eduardo Gulias Davis 490ca6b997 CRLFX2 and un used constants 2015-06-26 14:59:46 +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 1cead9fa77 Expecting CTEXT 2015-06-25 21:47:55 +02:00
Eduardo Gulias Davis 7f7734e3d9 ExpectingATEXT 2015-06-25 21:44:05 +02:00
Eduardo Gulias Davis 0183c4eeb0 ExpectingQPair 2015-06-25 21:30:31 +02:00
Eduardo Gulias Davis 4acf8db902 Atext after CFWS 2015-06-25 21:20:31 +02:00
Eduardo Gulias Davis 9d9a280d43 Consecutive Dot 2015-06-25 21:15:42 +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 758a43f858 Remove constants, one at a time 2015-06-25 20:16:34 +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
Eduardo Gulias Davis 833b3e7924 #41 - Semicolon in domain 2015-01-04 17:28:58 +01: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 2ec7babda6 fixed strict check 2014-11-05 01:09:55 +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 8b62522238 Scrutinizer patch 2014-10-26 23:02:09 +01:00
Eduardo Gulias Davis 2933b7bbd1 Reset state 2014-10-26 22:54:30 +01:00
Eduardo Gulias Davis f5c48f62d3 Remove commens 2014-10-26 22:54:21 +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 2f44d7b1e1 #23 - SensioLabsInsight errors 2014-09-16 23:20:11 +02:00
Eduardo Gulias Davis 39b451bb2b #19 and #10 - Improvement of QuotedPart parsing 2014-09-02 00:35:48 +02:00
Eduardo Gulias Davis 65afaf3f2b Change DNS validation to default to true instead of false by @brianfreytag 2014-08-22 01:08:16 +02:00
Eduardo Gulias Davis 82f8514d89 COMMA is not allowed in domain part 2014-08-22 01:05:58 +02:00