PublicationType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 16
c 0
b 0
f 0
dl 0
loc 36
ccs 0
cts 10
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getListValues() 0 10 1
1
<?php
2
0 ignored issues
show
Coding Style introduced by
Missing file doc comment
Loading history...
3
namespace DMT\Insolvency\Validation;
4
5
use JMS\Serializer\Annotation as JMS;
6
use Symfony\Component\Validator\Constraints as Assert;
7
8
/**
9
 * Class PublicationType
10
 */
0 ignored issues
show
Coding Style introduced by
Missing @category tag in class comment
Loading history...
Coding Style introduced by
Missing @package tag in class comment
Loading history...
Coding Style introduced by
Missing @author tag in class comment
Loading history...
Coding Style introduced by
Missing @license tag in class comment
Loading history...
Coding Style introduced by
Missing @link tag in class comment
Loading history...
11
class PublicationType
12
{
13
    /** Rulings on the commencement of bankruptcy procedures */
0 ignored issues
show
Coding Style introduced by
The open comment tag must be the only content on the line
Loading history...
Coding Style introduced by
Doc comment short description must be on the first line
Loading history...
Coding Style introduced by
The close comment tag must be the only content on the line
Loading history...
14
    public const COMMENCEMENT_BANKRUPTCY = 'Uitspraken faillissement';
15
16
    /** Rulings on the commencement of procedures on debt restucturing */
0 ignored issues
show
Coding Style introduced by
The open comment tag must be the only content on the line
Loading history...
Coding Style introduced by
Doc comment short description must be on the first line
Loading history...
Coding Style introduced by
The close comment tag must be the only content on the line
Loading history...
17
    public const COMMENCEMENT_DEPT_RESTRUCTURING = 'Uitspraken schuldsanering';
18
19
    /** Rulings on the commencement of procedures on moratorium */
0 ignored issues
show
Coding Style introduced by
The open comment tag must be the only content on the line
Loading history...
Coding Style introduced by
Doc comment short description must be on the first line
Loading history...
Coding Style introduced by
The close comment tag must be the only content on the line
Loading history...
20
    public const COMMENCEMENT_MORATORIUM = 'Uitspraken surseance';
21
22
    /** Rulings on the termination of bankruptcy procedures */
0 ignored issues
show
Coding Style introduced by
The open comment tag must be the only content on the line
Loading history...
Coding Style introduced by
Doc comment short description must be on the first line
Loading history...
Coding Style introduced by
The close comment tag must be the only content on the line
Loading history...
23
    public const TERMINATION_BANKRUPTCY = 'Einde faillissementen';
24
25
    /** Rulings on the termination of procedures on  debt restucturing */
0 ignored issues
show
Coding Style introduced by
The open comment tag must be the only content on the line
Loading history...
Coding Style introduced by
Doc comment short description must be on the first line
Loading history...
Coding Style introduced by
The close comment tag must be the only content on the line
Loading history...
26
    public const TERMINATION_DEPT_RESTRUCTURING = 'Einde schuldsaneringen';
27
28
    /** Rulings on the termination of moratorium */
0 ignored issues
show
Coding Style introduced by
The open comment tag must be the only content on the line
Loading history...
Coding Style introduced by
Doc comment short description must be on the first line
Loading history...
Coding Style introduced by
The close comment tag must be the only content on the line
Loading history...
29
    public const TERMINATION_MORATORIUM = 'Einde surseances';
30
31
    /** Other insolvency publications */
0 ignored issues
show
Coding Style introduced by
The open comment tag must be the only content on the line
Loading history...
Coding Style introduced by
Doc comment short description must be on the first line
Loading history...
Coding Style introduced by
The close comment tag must be the only content on the line
Loading history...
32
    public const OTHER_PUBLICATIONS = 'Overig';
33
34
    /**
0 ignored issues
show
Coding Style introduced by
Missing short description in doc comment
Loading history...
35
     * @return array
36
     */
37
    public static function getListValues(): array
38
    {
39
        return [
40
            self::COMMENCEMENT_BANKRUPTCY,
41
            self::COMMENCEMENT_DEPT_RESTRUCTURING,
42
            self::COMMENCEMENT_MORATORIUM,
43
            self::TERMINATION_BANKRUPTCY,
44
            self::TERMINATION_DEPT_RESTRUCTURING,
45
            self::TERMINATION_MORATORIUM,
46
            self::OTHER_PUBLICATIONS,
47
        ];
48
    }
49
}
50