Completed
Pull Request — master (#4)
by James Ekow Abaka
01:56
created

ProgramControl   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A quit() 0 3 1
1
<?php
2
3
namespace clearice\utils;
4
5
6
class ProgramControl
7
{
8
    public function quit($status = 0)
9
    {
10
        exit($status);
0 ignored issues
show
Best Practice introduced by
Using exit here is not recommended.

In general, usage of exit should be done with care and only when running in a scripting context like a CLI script.

Loading history...
11
    }
12
}