1.2.481. Fossilized Methods List

This is the list of fossilized methods. Those methods appears when they get tightly couple with a child or parent class, and cannot evolve anymore without making the rest of the family evolve also. They are now very difficult to update and usually, become inert.

<?php

class x {
    function foo(int $a) : string {
        //...
    }
}

class y extends x {
    // this methods is fossilized, as its modification will trigger an update in the parent class
    function foo(int $a) : string {
        //...
    }
}

?>

1.2.481.1. Specs

Short name

Dump/FossilizedMethods

Rulesets

All, CE, Changed Behavior, Dump

Exakat since

2.1.5

PHP Version

All

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

Very high

Features

fossilized-method

Available in

Entreprise Edition, Community Edition, Exakat Cloud