MultiCsFileLoaderTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testLoad() 0 9 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Symplify\MultiCodingStandard\Tests\Configuration;
6
7
use PHPUnit\Framework\TestCase;
8
use Symplify\MultiCodingStandard\Configuration\MultiCsFileLoader;
9
10
final class MultiCsFileLoaderTest extends TestCase
11
{
12
    public function testLoad()
13
    {
14
        $multiCsFileLoader = new MultiCsFileLoader(__DIR__.'/multi-cs-key-value.json');
15
16
        $loadedFile = $multiCsFileLoader->load();
17
        $this->assertSame([
18
           'key' => 'value',
19
        ], $loadedFile);
20
    }
21
}
22