RuleNotExist::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 3
dl 0
loc 4
ccs 0
cts 4
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: harry
5
 * Date: 2/15/18
6
 * Time: 4:59 PM
7
 */
8
9
namespace PluginSimpleValidate\Exception;
10
11
use Throwable;
12
13
class RuleNotExist extends \Exception
14
{
15
    public function __construct($message = "Rule does not exist", $code = 0, Throwable $previous = null)
16
    {
17
        parent::__construct($message, $code, $previous);
18
    }
19
}