| Conditions | 6 |
| Paths | 32 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | public function enterNode(Node $node) |
||
| 44 | { |
||
| 45 | if ($node instanceof Declare_) { |
||
| 46 | $this->declare[] = $node; |
||
| 47 | } |
||
| 48 | if ($node instanceof Use_) { |
||
| 49 | $this->use[] = $node; |
||
| 50 | } |
||
| 51 | if ($node instanceof Namespace_) { |
||
| 52 | $this->namespace = $node; |
||
| 53 | } |
||
| 54 | if ($node instanceof Class_) { |
||
| 55 | $this->validateClass($node); |
||
| 56 | $this->class = $node; |
||
| 57 | } |
||
| 58 | if ($node instanceof ClassMethod) { |
||
| 59 | $this->classMethod[] = $node; |
||
| 60 | } |
||
| 61 | } |
||
| 62 | |||
| 73 |