1.2.1077. Set Class Remote Definition With Injection

Links a method call and its definition, thanks to a typehint.

<?php

class A {
    function goo() {}
}

function foo(A $arg) {
    // This goes to method A::goo(), thanks to the typehint
    $arg->goo();
}

?>

1.2.1077.1. Specs

Short name

Complete/SetClassRemoteDefinitionWithInjection

Rulesets

All, Changed Behavior, NoDoc

Exakat since

1.9.2

PHP Version

All

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

High

Available in

Entreprise Edition, Exakat Cloud