Test Setup Failed
Push — 3.0.0-dev ( 7e0ee1...302b98 )
by Eduardo Gulias
01:56
created

CRLFAtTheEnd   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 15
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A code() 0 4 1
A description() 0 4 1
1
<?php
2
3
namespace Egulias\EmailValidator\Result\Reason;
4
5
class CRLFAtTheEnd implements Reason
6
{
7
    const CODE = 149;
8
    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