Test Failed
Push — master ( 3b4c09...efb6fb )
by Richard
02:50
created

ExitOrDie   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
/******************************************************************************
3
 * An implementation of dicto (scg.unibe.ch/dicto) in and for PHP.
4
 *
5
 * Copyright (c) 2016 Richard Klees <[email protected]>
6
 *
7
 * This software is licensed under The MIT License. You should have received
8
 * a copy of the license along with the code.
9
 */
10
11
namespace Lechimp\Dicto\Variables;
12
13
use Lechimp\Dicto\Variables\Any;
14
use Lechimp\Dicto\Variables\LanguageConstructs;
15
16
class ExitOrDie extends Any {
17
    public function __construct() {
18
        parent::__construct(
19
            [ new LanguageConstruct("die", "die")
20
            , new LanguageConstruct("exit", "exit")
21
            ], "ExitOrDie");
22
    }
23
}
24
25