Test Setup Failed
Push — 3.0.0-dev ( 16ae24...e2e234 )
by Eduardo Gulias
09:56 queued 11s
created
src/EmailValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @return array
53
+     * @return Warning\Warning[]
54 54
      */
55 55
     public function getWarnings()
56 56
     {
Please login to merge, or discard this patch.
src/Parser/DomainLiteral.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,6 +137,9 @@  discard block
 block discarded – undo
137 137
         }
138 138
     }
139 139
     
140
+    /**
141
+     * @param string $addressLiteralIPv4
142
+     */
140 143
     public function convertIPv4ToIPv6($addressLiteralIPv4) : string
141 144
     {
142 145
         $matchesIP  = array();
@@ -161,7 +164,7 @@  discard block
 block discarded – undo
161 164
     /**
162 165
      * @param string $addressLiteral
163 166
      *
164
-     * @return string
167
+     * @return boolean
165 168
      */
166 169
     protected function checkIPV4Tag($addressLiteral) : bool
167 170
     {
Please login to merge, or discard this patch.
src/Parser/DomainPart.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
     }
184 184
 
185 185
     /**
186
-     * @return string|false
186
+     * @return Result
187 187
      */
188 188
     protected function parseDomainLiteral() : Result
189 189
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Egulias\EmailValidator\EmailLexer;
6 6
 use Egulias\EmailValidator\Exception\CommaInDomain;
7
-use Egulias\EmailValidator\Exception\ExpectingATEXT;
8 7
 use Egulias\EmailValidator\Result\InvalidEmail;
9 8
 use Egulias\EmailValidator\Result\Reason\CharNotAllowed as ReasonCharNotAllowed;
10 9
 use Egulias\EmailValidator\Result\Reason\DomainHyphened as ReasonDomainHyphened;
Please login to merge, or discard this patch.
src/Parser/Parser.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace Egulias\EmailValidator\Parser;
4 4
 
5 5
 use Egulias\EmailValidator\EmailLexer;
6
-use Egulias\EmailValidator\Exception\CRLFAtTheEnd;
7
-use Egulias\EmailValidator\Exception\CRLFX2;
8 6
 use Egulias\EmailValidator\Exception\ExpectingATEXT;
9 7
 use Egulias\EmailValidator\Result\InvalidEmail;
10 8
 use Egulias\EmailValidator\Result\Reason\ConsecutiveDot;
Please login to merge, or discard this patch.