1.2.705. Missing Overriden Method

This rule reports methods which bears the override attribute, but cannot have an eponymous method in the parent class.

This happens when the class has no parent, or when a trait is used in class without parent.

As such, an error will be raised when the class is used.

<?php


?>

1.2.705.1. Connex PHP features

1.2.705.1.1. Specs

Short name

Attributes/MissingOverrideMethod

Rulesets

All, Suggestions

Exakat since

2.6.8

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

High

Available in

Entreprise Edition, Exakat Cloud