| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | public function run(Application $app) |
||
| 13 | { |
||
| 14 | return [ |
||
| 15 | 'memory_usage' => memory_get_usage(), |
||
| 16 | 'memory_usage_real' => memory_get_usage(true), |
||
| 17 | 'memory_peak_usage' => memory_get_peak_usage(), |
||
| 18 | 'memory_peak_usage_real' => memory_get_peak_usage(true), |
||
| 19 | 'uptime' => round($app->getRunningTime()), |
||
|
|
|||
| 20 | ]; |
||
| 21 | } |
||
| 22 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.