1.2.162. 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.162.1. Specs

Short name

Dump/CollectCalls

Rulesets

All, Changed Behavior, Dump

Exakat since

2.5.0

PHP Version

All

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

Medium

Available in

Entreprise Edition, Exakat Cloud