Passed
Push — master ( dff13b...dab0e7 )
by Jesse
03:04
created

ExceptionThrowingConstructor::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Stratadox\Instantiator\Test\Fixtures;
5
6
use BadMethodCallException;
7
8
final class ExceptionThrowingConstructor
9
{
10
    /** @throws BadMethodCallException */
11
    public function __construct()
12
    {
13
        throw new BadMethodCallException('Should not call the constructor.');
14
    }
15
}
16