| Conditions | 3 |
| Paths | 4 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 6.087 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 26 | public function convert(Node\Arg $node) |
|
| 24 | { |
||
| 25 | 26 | if ($node->byRef) { |
|
| 26 | $this->logger->logIncompatibility( |
||
| 27 | 'reference', |
||
| 28 | 'Reference not supported', |
||
| 29 | $node, |
||
| 30 | $this->dispatcher->getMetadata()->getClass() |
||
| 31 | ); |
||
| 32 | } |
||
| 33 | |||
| 34 | 26 | return ($node->unpack ? '...' : '').$this->dispatcher->p($node->value); |
|
| 35 | } |
||
| 36 | } |
||
| 37 |