MigrationsNotExist::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
crap 1
1
<?php
2
namespace Triadev\EsMigration\Exception;
3
4
use Throwable;
5
6
class MigrationsNotExist extends \Exception
7
{
8
    /**
9
     * MigrationsNotExist constructor.
10
     * @param string $message
11
     * @param int $code
12
     * @param Throwable|null $previous
13
     */
14 1
    public function __construct(string $message = "", int $code = 0, Throwable $previous = null)
15
    {
16 1
        parent::__construct($message, $code, $previous);
17 1
    }
18
}
19