| Total Complexity | 6 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class ApcuCacheTest extends CacheTest |
||
| 14 | { |
||
| 15 | public static function setUpBeforeClass(): void |
||
| 16 | { |
||
| 17 | if (!extension_loaded('apcu')) { |
||
| 18 | self::markTestSkipped('Required extension "apcu" is not loaded'); |
||
| 19 | } |
||
| 20 | |||
| 21 | if (!ini_get('apc.enable_cli')) { |
||
| 22 | self::markTestSkipped('APC is installed but not enabled. Enable with "apc.enable_cli" from php.ini. Skipping.'); |
||
| 23 | } |
||
| 24 | } |
||
| 25 | |||
| 26 | protected function createCacheInstance(): CacheInterface |
||
| 29 | } |
||
| 30 | |||
| 31 | public function testExpire(): void |
||
| 32 | { |
||
| 33 | $this->markTestSkipped('APC keys are expiring only on the next request.'); |
||
| 34 | } |
||
| 35 | |||
| 36 | public function testExpireAdd(): void |
||
| 39 | } |
||
| 40 | } |
||
| 41 |