EmailTooLong   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 7
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Egulias\EmailValidator\Warning;
4
5
use Egulias\EmailValidator\EmailParser;
6
7
class EmailTooLong extends Warning
8
{
9
    public const CODE = 66;
10
11
    public function __construct()
12
    {
13
        $this->message = 'Email is too long, exceeds ' . EmailParser::EMAIL_MAX_LENGTH;
14
    }
15
}
16