1.2.586. Interface Arguments¶
This rule lists variables that are arguments in an interface.
<?php
interface i {
function interfaceMethod($interfaceArgument) ;
}
class foo extends i {
// Save function as above, but the variable is not reported
function interfaceMethod($notAnInterfaceArgument) {}
}
?>
1.2.586.1. Connex PHP features¶
1.2.586.1.1. Specs¶
Short name |
Variables/InterfaceArguments |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Available in |