1.2.898. Overwritten Properties

This command adds OVERWRITE link between property definitions of classes.

The $p property will be linked between classes x and y, with an OVERWRITE link.

<?php

class x {
    protected $p = 1;
}

class y extends x {
    protected $p = 1;
}

?>

1.2.898.1. Specs

Short name

Complete/OverwrittenProperties

Rulesets

All, CE, Changed Behavior, NoDoc

Exakat since

1.9.2

PHP Version

All

Severity

Time To Fix

Precision

Very high

Features

class, property, inheritance

Available in

Entreprise Edition, Community Edition, Exakat Cloud