1.2.1081. Set Class Method Remote Definition¶
Links method to the method definition. The link is
DEFINITION.
Static method calls and normal method calls are both solved with this rule. Parent classes and trait are also searched for the right method.
<?php
class x {
public function __construct() {}
public function foo() {}
}
// This links to __construct method
$a = new x;
// This links to foo() method
$a->foo();
?>
1.2.1081.1. Connex PHP features¶
1.2.1081.1.1. Specs¶
Short name |
Complete/SetClassMethodRemoteDefinition |
Rulesets |
|
Exakat since |
1.9.3 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
Very high |
Available in |