CRLFAtTheEnd   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A code() 0 3 1
A description() 0 3 1
1
<?php
2
3
namespace Egulias\EmailValidator\Result\Reason;
4
5
class CRLFAtTheEnd implements Reason
6
{
7
    public const CODE = 149;
8
    public const REASON = "CRLF at the end";
9
10
    public function code() : int
11
    {
12
        return 149;
13
    }
14
15
    public function description() : string
16
    {
17
        return 'CRLF at the end';
18
    }
19
}
20