Conditions | 2 |
Paths | 2 |
Total Lines | 4 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 2.5 |
Changes | 0 |
1 | <?php |
||
22 | 14 | static function debug($debug): void { |
|
23 | 14 | if(\getenv('PLASMA_DEBUG')) { |
|
24 | echo $debug.\PHP_EOL; |
||
25 | @\ob_flush(); |
||
1 ignored issue
–
show
|
|||
26 | } |
||
29 |
If you suppress an error, we recommend checking for the error condition explicitly: