1.2.164. Collect Calls¶
Collects calls to methods, and functions, and mentions the calling method or function.
The code above produces a link : foo => goo.
For methods, the results depends on type detection. Interface types might also limit this analysis.
Closures and arrow functions are omitted, so far.
<?php
function foo() {
goo();
}
?>
1.2.164.1. Specs¶
Short name |
Dump/CollectCalls |
Rulesets |
|
Exakat since |
2.5.0 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
Medium |
Available in |