| Total Complexity | 3 |
| Total Lines | 47 |
| 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 array $attributes |
||
| 33 | * |
||
| 34 | * @return \loophp\phptree\Node\AttributeNodeInterface |
||
| 35 | */ |
||
| 36 | 1 | private function createNode(array $attributes): AttributeNodeInterface |
|
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param \loophp\phptree\Node\AttributeNodeInterface $parent |
||
| 43 | * @param \Microsoft\PhpParser\Node ...$astNodes |
||
| 44 | * |
||
| 45 | * @return \loophp\phptree\Node\NodeInterface |
||
| 46 | */ |
||
| 47 | 1 | private function parseNode(AttributeNodeInterface $parent, Node ...$astNodes): NodeInterface |
|
| 67 |