Passed
Push — master ( ef5814...749211 )
by Dominique
01:31
created

EndBeforeStartException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 6
ccs 0
cts 6
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
namespace Kreemers\Period\Exception;
4
5
use Exception;
6
7
class EndBeforeStartException extends Exception
8
{
9
    /**
10
     * @var string
11
     */
12
    protected $message = 'Start must be before end';
13
14
    /**
15
     * @var int
16
     */
17
    protected $code = 1555929112;
18
}
19