analyse/classes/set-hook-without-assign
In the analyse-essential preset and every stricter one. Report only.
Configuration
[analyse.rules]
"classes/set-hook-without-assign" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
SetNonVirtualPropertyHookAssignRule(phpstan-classes)propertySetHook.noAssign(phpstan)