1.2.897. Overwritten Methods¶
This command adds OVERWRITE link between methods definitions of classes.
The foo method will be linked between classes x and y, with an OVERWRITE link.
<?php
class x {
protected function foo() {}
}
class y extends x {
protected function foo() {}
}
?>
1.2.897.1. Specs¶
Short name |
Complete/OverwrittenMethods |
Rulesets |
|
Exakat since |
1.9.2 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Features |
class, inheritance, method |
Available in |