DocuFileGeneratorException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 5
nc 1
nop 4
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ublaboo\Anabelle\Generator\Exception;
6
7
class DocuFileGeneratorException extends \RuntimeException
8
{
9
10
	public function __construct(string $fileName, string $message, ?int $code, \Throwable $previous)
11
	{
12
		parent::__construct(
13
			$message . ' @ ' . str_replace('/./', '/', $fileName),
14
			$code,
15
			$previous
16
		);
17
	}
18
}
19