1.2.904. 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.904.1. Connex PHP features

1.2.904.1.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

Available in

Entreprise Edition, Community Edition, Exakat Cloud