EmailValidator/Parser/FoldingWhiteSpace.php 1 location
|
@@ 39-43 (lines=5) @@
|
| 36 |
|
return new InvalidEmail(new ExpectingCTEXT(), $this->lexer->token['value']); |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
if ($this->lexer->isNextToken(EmailLexer::S_AT) || $previous['type'] === EmailLexer::S_AT) { |
| 40 |
|
$this->warnings[CFWSNearAt::CODE] = new CFWSNearAt(); |
| 41 |
|
} else { |
| 42 |
|
$this->warnings[CFWSWithFWS::CODE] = new CFWSWithFWS(); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
return new ValidEmail(); |
| 46 |
|
} |
EmailValidator/Parser/Parser.php 1 location
|
@@ 133-137 (lines=5) @@
|
| 130 |
|
throw new ExpectingCTEXT(); |
| 131 |
|
} |
| 132 |
|
|
| 133 |
|
if ($this->lexer->isNextToken(EmailLexer::S_AT) || $previous['type'] === EmailLexer::S_AT) { |
| 134 |
|
$this->warnings[CFWSNearAt::CODE] = new CFWSNearAt(); |
| 135 |
|
} else { |
| 136 |
|
$this->warnings[CFWSWithFWS::CODE] = new CFWSWithFWS(); |
| 137 |
|
} |
| 138 |
|
} |
| 139 |
|
|
| 140 |
|
protected function checkConsecutiveDots() |