| Total Complexity | 7 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class XmlParser |
||
| 8 | { |
||
| 9 | |||
| 10 | protected array $output; |
||
| 11 | |||
| 12 | 7 | public function __construct() |
|
| 15 | 7 | } |
|
| 16 | |||
| 17 | 7 | /** |
|
| 18 | * @throws XmlParseException |
||
| 19 | 7 | */ |
|
| 20 | 7 | public function getArrayFromXml($xml): array |
|
| 39 | } |
||
| 40 | |||
| 41 | 5 | protected function tagOpen($parser, $name, $attrs) |
|
| 49 | } |
||
| 50 | 5 | ||
| 51 | protected function tagClosed($parser, $name) |
||
| 56 | } |
||
| 57 | 5 | ||
| 58 | protected function tagData($parser, $tagData) |
||
| 68 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.