Completed
Pull Request — master (#226)
by Graham
03:15
created
Tests/EmailValidator/EmailLexerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
EmailValidator/Validation/MultipleValidationWithAnd.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
Tests/EmailValidator/Validation/MultipleValidationWithAndTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.