TestSuiteLoader   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
c 0
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A loadSuite() 0 3 1
1
<?php
2
3
namespace OckCyp\CoversValidator\Loader;
4
5
use OckCyp\CoversValidator\Model\ConfigurationHolder;
6
use OckCyp\CoversValidator\Model\TestCollection;
7
8
class TestSuiteLoader
9
{
10
    /**
11
     * Load test suite
12
     */
13
    public static function loadSuite(ConfigurationHolder $configurationHolder): TestCollection
14
    {
15
        return new TestCollection($configurationHolder);
16
    }
17
}
18