Inspectopedia Help

Write access to 'readonly' property outside of declaration scope

Reports the write accesses to readonly properties that are made outside the declaration scope. A declaration scope effectively means non-static methods of the class in which a property is declared.

See Readonly properties (php.net) for details.

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023