analyse/types/readonly-property-by-ref
In the analyse-essential preset and every stricter one. Report only.
Configuration
[analyse.rules]
"types/readonly-property-by-ref" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
ReadOnlyPropertyAssignRefRule(phpstan-classes)property.readOnlyAssignByRef(phpstan)