AddressLiteral   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Egulias\EmailValidator\Warning;
4
5
class AddressLiteral extends Warning
6
{
7
    public const CODE = 12;
8
9 13
    public function __construct()
10
    {
11 13
        $this->message = 'Address literal in domain part';
12 13
        $this->rfcNumber = 5321;
13
    }
14
}
15