Conditions | 2 |
Paths | 2 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
25 | 280 | } |
|
26 | |||
27 | 209 | public function parseLine(string $line): void |
|
28 | { |
||
29 | 209 | $file = trim($line); |
|
30 | |||
31 | 209 | $found = false; |
|
32 | 209 | if($this->parser->getFileSystem()->has($file)) |
|
33 | { |
||
34 | 16 | $found = true; |
|
35 | 16 | $this->variables = $this->parser->parse($file); |
|
36 | } |
||
37 | |||
38 | 209 | $this->filesStatus[$file] = [ |
|
39 | 209 | 'found' => $found, |
|
40 | 209 | 'referencedFrom' => $this->currentFilePath, |
|
41 | ]; |
||
54 |