ExceptionClassNames   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 14
dl 0
loc 17
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getExceptionClassNames() 0 15 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Fabiang\ExceptionGenerator\Generator;
6
7
class ExceptionClassNames
8
{
9
    public static function getExceptionClassNames(): array
10
    {
11
        return [
12
            'BadMethodCallException',
13
            'DomainException',
14
            'InvalidArgumentException',
15
            'LengthException',
16
            'LogicException',
17
            'OutOfBoundsException',
18
            'OutOfRangeException',
19
            'OverflowException',
20
            'RangeException',
21
            'RuntimeException',
22
            'UnderflowException',
23
            'UnexpectedValueException',
24
        ];
25
    }
26
}
27