| Conditions | 3 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | public function pass(FuncCall $funcCall, Context $context) |
||
| 24 | { |
||
| 25 | $functionName = $this->resolveFunctionName($funcCall, $context); |
||
| 26 | if ($functionName && isset($this->map[$functionName])) { |
||
| 27 | $context->notice( |
||
| 28 | 'fcall.alias', |
||
| 29 | sprintf('%s() is an alias of function. Use %s(...).', $functionName, $this->map[$functionName]), |
||
| 30 | $funcCall |
||
| 31 | ); |
||
| 32 | } |
||
| 33 | } |
||
| 34 | } |
||
| 35 |