Commit Graph

191 Commits

Author SHA1 Message Date
Gabriel Caruso 1bec00a100 Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase (#155)
* Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase

* Use installed PHPUnit version not global
2.1.3
2017-11-16 00:40:40 +01:00
Santiago Castro 3abad65421 Fix broken Markdown headings (#149) 2017-04-18 23:06:35 +02:00
Dany Maillard 3fdfa261ad Remove duplicat < and > char value (#147) 2017-04-13 10:55:46 +02:00
Christian Flothmann 14ca3785c1 improve feedback on missing Intl extension (#143) 2017-03-02 11:09:01 +01:00
Eduardo Gulias Davis bc31baa11e Le shadow master (#139)
* 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.

* Test deprecation warnings removed
2.1.2
2017-01-30 23:07:36 +01:00
Simone c0c888ae10 removes trailing spaces (#136) 2017-01-25 22:45:20 +01:00
gjenjoying 181a2fc726 update readme (#135)
* update readme

use Egulias\EmailValidator\Validation\RFCValidation  is required.
2016-12-15 20:18:15 +01:00
Alf Eaton a1e85fa9fb Fix NoRFCWarningsValidation name in README (#134) 2016-11-10 20:04:43 +01:00
BradChesney79 7ff8caaae5 Update composer.json to use the right extension string (#127)
By using
"ext-intl": "*"
in the require block, the suggestion will be hidden if it is already available. ext/php-intl has few google search results and will confuse less knowledgeable users.
2016-08-16 00:24:12 +02:00
Eduardo Gulias Davis 5d56347ddf Typo 2016-08-07 23:26:30 +02:00
Eduardo Gulias Davis 80ad87acdd Update composer instructions 2016-08-07 23:25:34 +02:00
Eduardo Gulias Davis 30562b69fc Merge branch 'taz77-correct-readme-php-example-code-php-dependencies' 2.1.1 2016-08-07 23:18:59 +02:00
Eduardo Gulias Davis cbb8b9e152 PHPStorm help and composer suggestion 2016-08-07 23:16:06 +02:00
Eduardo Gulias Davis cf670406e5 Merge branch 'correct-readme-php-example-code-php-dependencies' of https://github.com/taz77/EmailValidator into taz77-correct-readme-php-example-code-php-dependencies 2016-08-07 23:11:36 +02:00
Issei.M 4d446bf971 NoRFCWarningsValidation now has an InvalidEmail instance if invalid email is passed (#126)
* NoRFCWarningsValidation now has an InvalidEmail instance if invalid email is passed

* fix mentioned point
2016-08-03 22:42:12 +02:00
Issei.M 4f0f9023f0 MultipleValidationWithAnd::getError() now returns NULL if no errors (#124)
* MultipleValidationWithAnd::getError() now returns NULL if no errors

* improve adding error logic

* reword something, add tips

* fix CS
remove wrong tips
2016-07-29 22:43:15 +02:00
Brady 9160e26b13 List and links
Turned requirements into an unordered list. Removed the PHPstorm logo as it doesn't exist and could not find one to replace it.
2016-07-19 06:49:04 +02:00
Brady eb036b7d1c Correct PHP example. Add a requirements section.
Corrected PHP example for missing semi-colons. Added a new requirements section that explains the need for composer and the need of the PHP Intl library to use the spoof validation.
2016-07-18 11:55:21 +02:00
Issei.M 19811e0082 MultipleValidatorWithAnd now can break out of loop when error occurs (#122)
* MultipleValidatorWithAnd now can break out of loop when error occurs

* improved logic

* updated doc

* bugfix
2.1.0
2016-07-12 15:22:10 +02:00
Michele Locati b366d54b0a Exclude some dirs and files from repository auto-generated ZIP archives (#113)
People that install this library via composer don't need the test stuff, they just need the library itself.
This PR removes the development directories and files from the repository auto-generated ZIP archives.
Since these development files/directories will still be available via `git clone`, Travis is happy, developers are happy, and so are end-users (they won't have unneeded stuff in production machines).
2.0.1
2016-07-03 23:53:17 +02:00
Issei.M 2bc46e23e5 fixed type missing and removed unused code (#117) 2016-06-25 00:47:43 +02:00
Issei.M 7701238433 fixed some problems in DNSCheckValidation (#116) 2016-06-25 00:43:29 +02:00
Issei.M afde3d3874 fixed DNSCheckValidation bug (#115) 2016-06-21 17:31:36 +02:00
Pedro Maia e9c46eed92 Fix typo (#112) 2016-05-19 00:20:10 +02:00
Eduardo Gulias Davis f5ea1fbb9c Licence year :) 2.0.0 2016-05-16 19:21:35 +02:00
Eduardo Gulias Davis 03917146de Added test proof (#111) 2016-05-15 12:03:53 +02:00
Eduardo Gulias Davis 313c7f9f3e Domain back slash (#108)
* New home for all the tests. Fixed namespaces

* small code improvement

* Skipping tests failing only in Travis

* Add backslash as a forbbiden char
2016-05-15 11:55:36 +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 87dc3c477e Update README.md for v2 (#106)
* Update README.md
2016-05-10 01:13:51 +02:00
Eduardo Gulias Davis c1c406a03f using tests from original is_email function (#104) 2016-05-09 23:55:49 +02:00
Eduardo Gulias Davis e4f04d5d8a Spoof validation (#100)
* Spoof validation
2016-05-09 23:55:12 +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 8853b6bb85 Merge branch 'master' of github.com:egulias/EmailValidator 2016-04-30 16:34:35 +02:00
Eduardo Gulias Davis 2060deafd5 remove Zephir 2016-04-30 16:34:15 +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
Eduardo Gulias Davis 5e91e292e7 Merge pull request #81 from whyte624/master
#80 validate number of closing parenthesis
2015-10-12 00:14:21 +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