Test Failed
Push — master ( c5b8d7...35e052 )
by Adam
01:59
created

XcacheCacheTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 7 2
1
<?php
2
namespace DBAL\Tests\Caching;
3
4
use DBAL\Database;
5
use DBAL\Caching\XcacheCache;
6
use PHPUnit\Framework\TestCase;
7
8
class XcacheCacheTest extends TestCase{
9
    
10
    public function setUp() {
11
        if(!extension_loaded('xcache')) {
12
            $this->markTestSkipped(
13
                'The XCache extension is not available.'
14
            );
15
        }
16
    }
17
    
18
}
19