StaticUrlResolverTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 5

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFilesystem() 0 7 1
1
<?php
2
3
namespace Gaufrette\Extras\Tests\Resolvable\Resolver;
4
5
use Gaufrette\Adapter\InMemory;
6
use Gaufrette\Extras\Resolvable\ResolvableFilesystem;
7
use Gaufrette\Extras\Resolvable\Resolver\StaticUrlResolver;
8
use Gaufrette\Filesystem;
9
10
class StaticUrlResolverTest extends TestCase
11
{
12
    protected function getFilesystem()
13
    {
14
        return new ResolvableFilesystem(
15
            new Filesystem(new InMemory()),
16
            new StaticUrlResolver('https://google.com')
17
        );
18
    }
19
}
20