Skip to content

Conversation

@mad-briller
Copy link
Contributor

fixes phpstan/phpstan#13856

Took inspiration from #3817 when implementing the fix.

Not entirely 100% sure about the proposed changes here, as passing through the $originalNode to the PropertyWrite constructor feels a little heavy handed, considering i only need one of the 3 types that it could be, and also it has to be null because of the parent constructor case, so open to suggestions there.

@mad-briller mad-briller force-pushed the bug13856 branch 7 times, most recently from 649cead to a529599 Compare December 4, 2025 13:34
@mad-briller
Copy link
Contributor Author

i have no intuition on how to deal with the escaped mutants mentioned by CI 👼, if someone could give me a pointer that'd be appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Readonly SplObjectStorage array assignment error

1 participant