Eduardo Gulias Davis
c8e7f01dfb
Parsing comments, at last!
2020-07-26 16:15:50 +02:00
Eduardo Gulias Davis
61798f9f1b
NoDomainPart reason
2020-06-13 15:59:33 +02:00
Eduardo Gulias Davis
138fa69163
Test for hypen
2020-05-24 15:17:36 +02:00
Eduardo Gulias Davis
5b045d96ca
Starting to transform domain part
2020-05-24 15:10:50 +02:00
Eduardo Gulias Davis
302b98bf41
FWS parser
2020-05-23 16:21:45 +02:00
Eduardo Gulias Davis
3145070028
function simplification
2020-05-23 15:39:27 +02:00
Eduardo Gulias Davis
ad92070629
Concecutive dots and invalid token
2020-05-23 15:27:00 +02:00
Eduardo Gulias Davis
363bd6f5d6
better reading with isInvalid as method
2020-05-15 23:29:22 +02:00
Eduardo Gulias Davis
2ea18ea9ba
new escaping check
2020-05-15 23:25:03 +02:00
Eduardo Gulias Davis
7e0ee1686d
Psalm dep and new reason added
2020-05-15 23:14:29 +02:00
Eduardo Gulias Davis
4a38c49fb5
clean up
2020-05-15 22:59:24 +02:00
Eduardo Gulias Davis
aa0eeae92b
local part comments
2020-05-03 15:25:33 +02:00
Eduardo Gulias Davis
ccade62caa
polish
2020-05-01 16:06:49 +02:00
Eduardo Gulias Davis
1cfe87c50f
Quoted string parsing returns only Results and avoids exceptions
2020-05-01 16:06:01 +02:00
Eduardo Gulias Davis
79ee0f5864
better use of the new quote parser
2020-05-01 15:09:10 +02:00
Eduardo Gulias Davis
9a9e745d68
DoubleQuote parser and replacement to green
2020-05-01 15:00:09 +02:00
Eduardo Gulias Davis
ac3f65dbb6
Improving dquote parsing. First refactor to internal function
2020-04-30 23:42:45 +02:00
Eduardo Gulias Davis
58400a0742
Working to retunr invalid emails from boolean functions
2020-04-27 23:58:55 +02:00
Eduardo Gulias Davis
4e72769520
Starting to change local part parser
2020-04-23 23:52:32 +02:00
Eduardo Gulias Davis
830b061103
Return types
2020-04-23 23:35:40 +02:00
Eduardo Gulias Davis
442f13a438
Main parser method transformed. Improved Reasons with details for clarity of failure
2020-04-22 00:09:42 +02:00
Eduardo Gulias Davis
ab6a4fb8a6
Initial approach to avoiding exceptions and better results. Failing test to remember to implement tokens
2020-04-20 23:57:29 +02:00
Eduardo Gulias Davis
ebd405cebb
Update CI files
2020-04-20 23:10:42 +02:00
Eduardo Gulias Davis
e00c261e78
Update to 7.2
2020-04-20 00:31:37 +02:00
Florent Morselli
2f38a470f9
Update .gitattributes ( #237 )
...
This PR removes information/debug/testing files from the distribution
2020-03-02 22:43:01 +01:00
Marcin Michalski
ade6887fd9
Fix local part length check ( #233 )
2.1.17
2020-02-13 23:36:52 +01:00
Denis Ryabov
5065fafc8c
Fix "Trying to access array offset on value of type null" ( #228 )
...
Added a check that `$previous` is not null (i.e. previous token exists)
2.1.16
2020-02-12 23:28:28 +01:00
SignpostMarv
e834eea530
Enabling psalm on php >= 7.1, fixing #125 , #168 , #169 , partially fixing #177 ( #190 )
...
* experimenting with psalm
* loading in symfony polyfill, partially resolves egulias/EmailValidator#177 , but SpoofChecker does not seem to be polyfilled in symfony/polyfill-intl-*
* removing unused imports, fixes egulias/EmailValidator#168 and egulias/EmailValidator#169
* not actually used for object storage
* Egulias\Tests\EmailValidator\Validation\SpoofCheckValidationTest::testEmailWithSpoofsIsInvalid fails if extension is not installed
* satisfying psalm
* amending indentation
* disabling psalm on 5.6
* attempting to resolve psalm issue on 7.0 & 7.1
* dropping psalm from 7.0 matrix
* ext-intl removed as per egulias/EmailValidator#231
* updating baseline with psalm 3.8.3
* suppressing issue with Spoofchecker not being present, pending resolution of egulias/EmailValidator#231
* enable psalm on travis config for php 7.3
2.1.15
2020-01-20 22:40:59 +01:00
SignpostMarv
c4b8d12921
Composer tweaks ( #227 )
...
* lockfile is not present in git repo
* correcting autoloader
* package is listed on packagist, repo listing in composer.json causes install issues on windows
Co-authored-by: Eduardo Gulias Davis <eduardomgulias@gmail.com >
2.1.14
2020-01-05 15:11:20 +01:00
Graham Campbell
3d09cd0b58
Update .gitignore ( #225 )
2020-01-05 14:48:40 +01:00
Graham Campbell
3e3b1e562b
Removed unneeded repositories section from composer.json ( #226 )
2020-01-02 13:23:54 +01:00
SignpostMarv
ed32faa118
using ::class instead of FQCN literal, fixes egulias/EmailValidator#125 ( #230 )
2020-01-02 13:02:44 +01:00
Graham Campbell
834593d590
Fixed tests ( #223 )
2.1.13
2019-12-30 09:14:25 +01:00
Graham Campbell
a6255605af
Important compser.json fix ( #220 )
2.1.12
2019-12-20 13:49:39 +01:00
felipeAraujo
950d0663dc
making the docs more precise in order to some lint tools don't give error ( #216 )
2019-09-15 22:23:48 +02:00
Nicolas Grekas
92dd169c32
Advertise return annotations from doctrine/lexer ( #209 )
2.1.11
2019-08-13 19:33:27 +02:00
Nicolas Grekas
a6c8d7101b
Fix PHP 7.4 support ( #203 )
...
Adding support for deprecated PHP behaviours.
2.1.10
2019-07-19 22:52:08 +02:00
Eduardo Gulias Davis
128cc721d7
fix(201) - empty domain
2.1.9
2019-06-23 12:14:27 +02:00
Viktor Szépe
c26463ff92
Fix class name and parameter types ( #200 )
...
* Fix class name and paramtere types
* HHVM is not a thing anymore
2.1.8
2019-05-17 00:02:54 +02:00
Victor Bocharsky
a09af2de87
Minor: Use SVG format for some bad looking badges in README ( #197 )
2019-05-07 22:08:52 +02:00
Victor Bocharsky
c802f106b3
Simplify installation command in README ( #198 )
...
Composer will automatically use BC constraint, like `^2.1.7`
2019-05-07 22:08:00 +02:00
Joël Harkes
709f21f927
Update MultipleValidationWithAnd.php ( #179 )
...
* Update MultipleValidationWithAnd.php
Fix all validations actually get executed when mode is ALLOW_ALL_ERRORS (1)
* this should validate not breake out.
* Actually fix the unit tests
* add real invalid email test
2.1.7
2018-12-04 23:38:24 +01:00
Eduardo Gulias Davis
e68c26e065
Update supported RFCs ( #186 )
...
solves #186
2018-12-03 11:33:36 +01:00
Andrey Bolonin
8036f2bd05
Update .travis.yml ( #182 )
2018-11-03 22:52:10 +01:00
nikitos569
0043eab0c5
Update README.md ( #180 )
2018-10-19 00:14:56 +02:00
SAMUEL NELA
0578b32b30
Added autoload-dev ( #178 )
2.1.6
2018-09-25 22:47:26 +02:00
Tom Sommer
54859fabea
INTL_IDNA_VARIANT_UTS46 is not supported on all systems ( #173 )
...
* INTL_IDNA_VARIANT_UTS46 is not supported on all systems
Fall back to INTL_IDNA_VARIANT_2003 if INTL_IDNA_VARIANT_UTS46 is not found.
* Fix syntax error
* Update DNSCheckValidation.php
2.1.5
2018-08-16 22:49:45 +02:00
Tom Sommer
135444003f
Correctly check for intl extension in SpoofCheck ( #174 )
2018-08-13 14:43:59 +02:00
Tom Sommer
9dde0df1e3
DNSCheckValidation requires the Intl extension ( #175 )
...
* DNSCheckValidation requires the Intl extension as well
* Check for Intl extension in DNSCheckValidation
2018-08-13 14:43:24 +02:00
Lode Claassen
8790f59415
DNS check should convert unicode domains first ( #166 )
...
* fix checkdnsrr not handling unicode domains properly
* fix for php7.2
2.1.4
2018-04-10 12:11:19 +02:00