| Conditions | 4 |
| Paths | 8 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public static function setUpBeforeClass(): void |
||
| 16 | { |
||
| 17 | if (!extension_loaded('wincache')) { |
||
| 18 | self::markTestSkipped('Required extension "wincache" is not loaded'); |
||
| 19 | } |
||
| 20 | |||
| 21 | if (!ini_get('wincache.enablecli')) { |
||
| 22 | self::markTestSkipped('Wincache is installed but not enabled. Enable with "wincache.enablecli" from php.ini. Skipping.'); |
||
| 23 | } |
||
| 24 | |||
| 25 | if (!ini_get('wincache.ucenabled')) { |
||
| 26 | self::markTestSkipped('Wincache user cache disabled. Enable with "wincache.ucenabled" from php.ini. Skipping.'); |
||
| 27 | } |
||
| 35 |