You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Property hooks are incompatible with readonly properties. If there is a need to restrict access to a get or set operation in addition to altering its behavior, use asymmetric property visibility.
Bug Report
Minimal PHP Code Causing Issue
See https://getrector.com/demo/03e2e9fb-45b2-4e79-a30f-ef479e20bd5b
Responsible rules
ReadOnlyPropertyRectorReadOnlyClassRectorExpected Behavior
ReadOnlyPropertyRector rule should not set readonly for property hooks
From documentation