Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function doTest() |
||
36 | { |
||
37 | $this->setMessage('Check if Suhosin is either not loaded or correctly configured.'); |
||
38 | |||
39 | if (!$this->isSuhosinLoaded()) { |
||
40 | $this->markSuccess(); |
||
41 | return; |
||
42 | } |
||
43 | |||
44 | $this->markFailed( |
||
45 | 'The php extension suhosin is loaded. ' . |
||
46 | 'This extension has been known to create problems in the past, consider deactivating it.' |
||
47 | ); |
||
48 | } |
||
49 | |||
60 |