Eduardo Gulias Davis
6abedef7ae
All tests green
2020-08-23 15:49:14 +02:00
Eduardo Gulias Davis
caa29f4eb3
replacing exceptions
2020-08-19 10:27:10 +02:00
Eduardo Gulias Davis
e3710e7c12
Fixed handling of errors and null type hint
2020-08-15 16:46:45 +02:00
Eduardo Gulias Davis
01bc948f11
Improved multiple validation
2020-08-15 15:47:06 +02:00
Eduardo Gulias Davis
97f1d27a29
Removed all warnings
2020-08-15 15:12:08 +02:00
Eduardo Gulias Davis
d54bcf3f0a
MultipleValidationWithAnd fixed
2020-08-09 23:17:41 +02:00
Eduardo Gulias Davis
896ff4a4d9
Staging: fixed DNS validation
2020-08-09 16:54:47 +02:00
Eduardo Gulias Davis
34d49c1694
refactored not allowed chars
2020-08-09 14:55:31 +02:00
Eduardo Gulias Davis
7ce529e03f
Removed not needed control and added test case
2020-08-01 23:12:09 +02:00
Eduardo Gulias Davis
990ca1c1e3
Domain part validations
2020-08-01 23:03:58 +02:00
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