InvalidArgumentException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 11
rs 10
ccs 2
cts 2
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php declare(strict_types=1);
2
/**
3
 * This file is part of the daikon-cqrs/interop project.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
9
namespace Daikon\Interop;
10
11
use Assert\InvalidArgumentException as BaseInvalidArgumentException;
12
13
class InvalidArgumentException extends BaseInvalidArgumentException implements AssertionFailedException
14
{
15
    /** @param mixed $value */
16 6
    public function __construct(
17
        string $message = '',
18
        int $code = 0,
19
        string $propertyPath = null,
20
        $value = null,
21
        array $constraints = []
22
    ) {
23 6
        parent::__construct($message, $code, $propertyPath, $value, $constraints);
24 6
    }
25
}
26