@@ 34-47 (lines=14) @@ | ||
31 | /** |
|
32 | * {@inheritdoc} |
|
33 | */ |
|
34 | public function getLines() |
|
35 | { |
|
36 | $this->coveredLines = []; |
|
37 | $reader = new XMLReader; |
|
38 | $reader->open($this->file); |
|
39 | $currentFile = ''; |
|
40 | while ($reader->read()) { |
|
41 | $currentFile = $this->handleFile($reader, $currentFile); |
|
42 | ||
43 | $this->handleErrors($reader, $currentFile); |
|
44 | } |
|
45 | ||
46 | return $this->coveredLines; |
|
47 | } |
|
48 | ||
49 | /** |
|
50 | * {@inheritdoc} |
@@ 34-47 (lines=14) @@ | ||
31 | /** |
|
32 | * {@inheritdoc} |
|
33 | */ |
|
34 | public function getLines() |
|
35 | { |
|
36 | $this->coveredLines = []; |
|
37 | $reader = new XMLReader; |
|
38 | $reader->open($this->file); |
|
39 | $currentFile = ''; |
|
40 | while ($reader->read()) { |
|
41 | $currentFile = $this->checkForNewFiles($reader, $currentFile); |
|
42 | ||
43 | $this->handleStatement($reader, $currentFile); |
|
44 | } |
|
45 | ||
46 | return $this->coveredLines; |
|
47 | } |
|
48 | ||
49 | /** |
|
50 | * {@inheritdoc} |