Conditions | 4 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 0 |
1 | <?php |
||
34 | public function enterNode(Node $node) |
||
35 | { |
||
36 | if ($node instanceof FullyQualified |
||
37 | && false === ($node->hasAttribute('phpscoper_ignore') |
||
38 | && true === $node->getAttribute('phpscoper_ignore')) |
||
39 | ) { |
||
40 | return new Name('\\'.Name::concat($this->prefix, (string) $node)); |
||
41 | } |
||
42 | |||
43 | return $node; |
||
44 | } |
||
45 | } |
||
46 |