Passed
Pull Request — master (#16)
by Dmitry
14:13
created

TestConfigTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 15
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A configProvider() 0 6 1
A getDefaultConfigName() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Composer\Config\Tests\Integration\Tests\Config;
6
7
final class TestConfigTest extends ConfigTest
8
{
9
    public function configProvider(): array
10
    {
11
        return [
12
            [
13
                \Environment\Serializer\SerializerInterface::class,
14
                \Environment\Tests\Serializer\TestSerializer::class,
15
            ],
16
        ];
17
    }
18
19
    protected function getDefaultConfigName(): string
20
    {
21
        return 'test';
22
    }
23
}
24