Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix readonly property assign with ArrayAccess offset #3817

Open
wants to merge 1 commit into
base: 2.1.x
Choose a base branch
from

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented Feb 10, 2025

Closes phpstan/phpstan#8929
Closes phpstan/phpstan#12537

UPDATE: added test for 8929 and dealing with unset after realizing the bug duplicate and also finding #3795. I don't mind which one gets merged first, anybody feel free to re-use parts from here in the other MR or directly.

@herndlm herndlm force-pushed the readonly-property-assign-array-access branch 2 times, most recently from 770d90c to 25886a1 Compare February 10, 2025 12:25
@herndlm herndlm force-pushed the readonly-property-assign-array-access branch from 25886a1 to 72a7433 Compare February 17, 2025 15:33
@herndlm herndlm force-pushed the readonly-property-assign-array-access branch from 72a7433 to dce9aa0 Compare March 3, 2025 08:17
@herndlm
Copy link
Contributor Author

herndlm commented Mar 3, 2025

sorry boss, didn't want to hog CI, but thought it would be a good idea to rebase the last 3 non-controversial PRs from me 😊

@herndlm herndlm force-pushed the readonly-property-assign-array-access branch from dce9aa0 to 3780c4a Compare March 11, 2025 19:55
@herndlm herndlm force-pushed the readonly-property-assign-array-access branch from 3780c4a to 6d50c11 Compare March 13, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant