| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class MicrosoftTolerantPhpParser implements ImporterInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @param SourceFileNode $data |
||
| 21 | * |
||
| 22 | * @throws Exception |
||
| 23 | * |
||
| 24 | * @return \loophp\phptree\Node\NodeInterface |
||
| 25 | */ |
||
| 26 | 1 | public function import($data): NodeInterface |
|
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param \Microsoft\PhpParser\Node $astNode |
||
| 33 | * @param \loophp\phptree\Node\AttributeNodeInterface $parent |
||
| 34 | * |
||
| 35 | * @return \loophp\phptree\Node\AttributeNodeInterface |
||
| 36 | */ |
||
| 37 | 1 | private function parseNode(Node $astNode, AttributeNodeInterface $parent): AttributeNodeInterface |
|
| 53 |