Test Failed
Push — develop ( 32ca41...230235 )
by Brent
04:59
created

Parse   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 13
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0
wmc 1
lcom 1
cbo 3

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 10 1
1
<?php
2
3
namespace Stitcher\Task;
4
5
use Stitcher\File;
6
use Symfony\Component\Yaml\Yaml;
7
8
class Parse extends AbstractParse
9
{
10
    public function execute(): void
11
    {
12
        $parsedConfiguration = Yaml::parse(File::read($this->configurationFile));
13
14
        $pages = $this->parsePageConfiguration($parsedConfiguration);
15
16
        $this->renderPages($pages);
17
18
        $this->executeSubTasks();
19
    }
20
}
21