| Conditions | 2 |
| Paths | 2 |
| Total Lines | 4 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 2.1481 |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | 1 | protected function shutdownXervicelication(): void |
|
| 46 | { |
||
| 47 | 1 | if ($this->shutdownIfError) { |
|
| 48 | exit; |
||
|
1 ignored issue
–
show
|
|||
| 49 | } |
||
| 51 | } |
In general, usage of exit should be done with care and only when running in a scripting context like a CLI script.