LocalStorageTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUpBeforeClass() 0 5 1
1
<?php
2
3
/*
4
 * This file is part of the limit0/assets package.
5
 *
6
 * (c) Limit Zero, LLC <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Limit0\Assets\Tests\StorageEngine;
13
14
use Limit0\Assets\StorageEngine\LocalStorageEngine;
15
16
/**
17
 * Configures the AmazonS3 StorageEngine
18
 *
19
 * @author  Josh Worden <[email protected]>
20
 */
21
class LocalStorageTest extends AbstractStorageEngineTest
22
{
23
    public static function setUpBeforeClass()
24
    {
25
        self::$engine = new LocalStorageEngine();
26
        self::$engine->setPath(sprintf('%s/%s', sys_get_temp_dir(), 'l0-asset-test'));
27
    }
28
}
29