@@ -63,6 +63,9 @@ |
||
63 | 63 | return $chars; |
64 | 64 | } |
65 | 65 | |
66 | + /** |
|
67 | + * @param integer $code_point |
|
68 | + */ |
|
66 | 69 | protected function utf8Chr($code_point) |
67 | 70 | { |
68 | 71 |
@@ -78,6 +78,9 @@ discard block |
||
78 | 78 | return $result; |
79 | 79 | } |
80 | 80 | |
81 | + /** |
|
82 | + * @param \Egulias\EmailValidator\Exception\InvalidEmail|null $possibleError |
|
83 | + */ |
|
81 | 84 | private function addNewError($possibleError, array $errors) |
82 | 85 | { |
83 | 86 | if (null !== $possibleError) { |
@@ -87,6 +90,9 @@ discard block |
||
87 | 90 | return $errors; |
88 | 91 | } |
89 | 92 | |
93 | + /** |
|
94 | + * @param boolean $result |
|
95 | + */ |
|
90 | 96 | private function shouldStop($result) |
91 | 97 | { |
92 | 98 | return !$result && $this->mode === self::STOP_ON_ERROR; |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Egulias\EmailValidator\Exception\NoDomainPart; |
8 | 8 | use Egulias\EmailValidator\Validation\MultipleErrors; |
9 | 9 | use Egulias\EmailValidator\Validation\MultipleValidationWithAnd; |
10 | -use Egulias\EmailValidator\Validation\NoRFCWarningsValidation; |
|
11 | 10 | use Egulias\EmailValidator\Validation\RFCValidation; |
12 | 11 | use Egulias\EmailValidator\Warning\AddressLiteral; |
13 | 12 | use Egulias\EmailValidator\Warning\DomainLiteral; |