MIR1700
ImpurePropertyAssignment
A function marked @pure assigns to a property.
Example
Section titled “Example”<?php/** @pure */ function f(C $o){ $o->n = 1; }How to fix
Section titled “How to fix”Remove the side effect, or drop the @pure annotation.