ExceptionClassNames::getExceptionClassNames()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 15
Code Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 13
dl 0
loc 15
rs 9.8333
c 0
b 0
f 0
cc 1
nc 1
nop 0
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