EmailValidator/Parser/FoldingWhiteSpace.php 1 location
|
@@ 67-78 (lines=12) @@
|
| 64 |
|
/** |
| 65 |
|
* @return bool |
| 66 |
|
*/ |
| 67 |
|
protected function isFWS() |
| 68 |
|
{ |
| 69 |
|
if ($this->escaped()) { |
| 70 |
|
return false; |
| 71 |
|
} |
| 72 |
|
|
| 73 |
|
return $this->lexer->token['type'] === EmailLexer::S_SP || |
| 74 |
|
$this->lexer->token['type'] === EmailLexer::S_HTAB || |
| 75 |
|
$this->lexer->token['type'] === EmailLexer::S_CR || |
| 76 |
|
$this->lexer->token['type'] === EmailLexer::S_LF || |
| 77 |
|
$this->lexer->token['type'] === EmailLexer::CRLF; |
| 78 |
|
} |
| 79 |
|
|
| 80 |
|
/** |
| 81 |
|
* @return bool |
EmailValidator/Parser/Parser.php 1 location
|
@@ 150-161 (lines=12) @@
|
| 147 |
|
/** |
| 148 |
|
* @return bool |
| 149 |
|
*/ |
| 150 |
|
protected function isFWS() |
| 151 |
|
{ |
| 152 |
|
if ($this->escaped()) { |
| 153 |
|
return false; |
| 154 |
|
} |
| 155 |
|
|
| 156 |
|
return $this->lexer->token['type'] === EmailLexer::S_SP || |
| 157 |
|
$this->lexer->token['type'] === EmailLexer::S_HTAB || |
| 158 |
|
$this->lexer->token['type'] === EmailLexer::S_CR || |
| 159 |
|
$this->lexer->token['type'] === EmailLexer::S_LF || |
| 160 |
|
$this->lexer->token['type'] === EmailLexer::CRLF; |
| 161 |
|
} |
| 162 |
|
|
| 163 |
|
/** |
| 164 |
|
* @return bool |