@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | class Comment extends Warning |
6 | 6 | { |
7 | - const CODE = 17; |
|
7 | + const CODE = 17; |
|
8 | 8 | |
9 | - public function __construct() |
|
10 | - { |
|
11 | - $this->message = "Comments found in this email"; |
|
12 | - } |
|
9 | + public function __construct() |
|
10 | + { |
|
11 | + $this->message = "Comments found in this email"; |
|
12 | + } |
|
13 | 13 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | class IPV6Deprecated extends Warning |
6 | 6 | { |
7 | - const CODE = 13; |
|
7 | + const CODE = 13; |
|
8 | 8 | |
9 | - public function __construct() |
|
10 | - { |
|
11 | - $this->message = 'Deprecated form of IPV6'; |
|
12 | - $this->rfcNumber = 5321; |
|
13 | - } |
|
9 | + public function __construct() |
|
10 | + { |
|
11 | + $this->message = 'Deprecated form of IPV6'; |
|
12 | + $this->rfcNumber = 5321; |
|
13 | + } |
|
14 | 14 | } |
@@ -4,12 +4,12 @@ |
||
4 | 4 | |
5 | 5 | class LocalTooLong extends Warning |
6 | 6 | { |
7 | - const CODE = 64; |
|
8 | - const LOCAL_PART_LENGTH = 64; |
|
7 | + const CODE = 64; |
|
8 | + const LOCAL_PART_LENGTH = 64; |
|
9 | 9 | |
10 | - public function __construct() |
|
11 | - { |
|
12 | - $this->message = 'Local part is too long, exceeds 64 chars (octets)'; |
|
13 | - $this->rfcNumber = 5322; |
|
14 | - } |
|
10 | + public function __construct() |
|
11 | + { |
|
12 | + $this->message = 'Local part is too long, exceeds 64 chars (octets)'; |
|
13 | + $this->rfcNumber = 5322; |
|
14 | + } |
|
15 | 15 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | class DomainLiteral extends Warning |
6 | 6 | { |
7 | - const CODE = 70; |
|
7 | + const CODE = 70; |
|
8 | 8 | |
9 | - public function __construct() |
|
10 | - { |
|
11 | - $this->message = 'Domain Literal'; |
|
12 | - $this->rfcNumber = 5322; |
|
13 | - } |
|
9 | + public function __construct() |
|
10 | + { |
|
11 | + $this->message = 'Domain Literal'; |
|
12 | + $this->rfcNumber = 5322; |
|
13 | + } |
|
14 | 14 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | class NoDNSMXRecord extends Warning |
6 | 6 | { |
7 | - const CODE = 6; |
|
7 | + const CODE = 6; |
|
8 | 8 | |
9 | - public function __construct() |
|
10 | - { |
|
11 | - $this->message = 'No MX DSN record was found for this email'; |
|
12 | - $this->rfcNumber = 5321; |
|
13 | - } |
|
9 | + public function __construct() |
|
10 | + { |
|
11 | + $this->message = 'No MX DSN record was found for this email'; |
|
12 | + $this->rfcNumber = 5321; |
|
13 | + } |
|
14 | 14 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | class IPV6DoubleColon extends Warning |
6 | 6 | { |
7 | - const CODE = 73; |
|
7 | + const CODE = 73; |
|
8 | 8 | |
9 | - public function __construct() |
|
10 | - { |
|
11 | - $this->message = 'Double colon found after IPV6 tag'; |
|
12 | - $this->rfcNumber = 5322; |
|
13 | - } |
|
9 | + public function __construct() |
|
10 | + { |
|
11 | + $this->message = 'Double colon found after IPV6 tag'; |
|
12 | + $this->rfcNumber = 5322; |
|
13 | + } |
|
14 | 14 | } |
@@ -6,10 +6,10 @@ |
||
6 | 6 | |
7 | 7 | class EmailTooLong extends Warning |
8 | 8 | { |
9 | - const CODE = 66; |
|
9 | + const CODE = 66; |
|
10 | 10 | |
11 | - public function __construct() |
|
12 | - { |
|
13 | - $this->message = 'Email is too long, exceeds ' . EmailParser::EMAIL_MAX_LENGTH; |
|
14 | - } |
|
11 | + public function __construct() |
|
12 | + { |
|
13 | + $this->message = 'Email is too long, exceeds ' . EmailParser::EMAIL_MAX_LENGTH; |
|
14 | + } |
|
15 | 15 | } |
@@ -10,6 +10,6 @@ |
||
10 | 10 | |
11 | 11 | public function __construct() |
12 | 12 | { |
13 | - $this->message = 'Email is too long, exceeds ' . EmailParser::EMAIL_MAX_LENGTH; |
|
13 | + $this->message = 'Email is too long, exceeds '.EmailParser::EMAIL_MAX_LENGTH; |
|
14 | 14 | } |
15 | 15 | } |
@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | class CFWSWithFWS extends Warning |
6 | 6 | { |
7 | - const CODE = 18; |
|
7 | + const CODE = 18; |
|
8 | 8 | |
9 | - public function __construct() |
|
10 | - { |
|
11 | - $this->message = 'Folding whites space followed by folding white space'; |
|
12 | - } |
|
9 | + public function __construct() |
|
10 | + { |
|
11 | + $this->message = 'Folding whites space followed by folding white space'; |
|
12 | + } |
|
13 | 13 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | class ObsoleteDTEXT extends Warning |
6 | 6 | { |
7 | - const CODE = 71; |
|
7 | + const CODE = 71; |
|
8 | 8 | |
9 | - public function __construct() |
|
10 | - { |
|
11 | - $this->rfcNumber = 5322; |
|
12 | - $this->message = 'Obsolete DTEXT in domain literal'; |
|
13 | - } |
|
9 | + public function __construct() |
|
10 | + { |
|
11 | + $this->rfcNumber = 5322; |
|
12 | + $this->message = 'Obsolete DTEXT in domain literal'; |
|
13 | + } |
|
14 | 14 | } |