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

Hack new PHPStan 2.x compatible ReflectionCache #716

Merged
merged 5 commits into from
Nov 17, 2024
Merged

Hack new PHPStan 2.x compatible ReflectionCache #716

merged 5 commits into from
Nov 17, 2024

Conversation

staabm
Copy link
Owner

@staabm staabm commented Nov 17, 2024

the cache is not as efficient as it could be.

primary motivation is getting something which is compatible with PHPStan 2.x as our previous implementation relied on Type::__set_state which is no longer availabale in PHPStan 2.x

I am not happy with this solution, but at least it unblocks PHPStan 2.x compat for now.
opened #718 to rework this again if time allows

@staabm staabm marked this pull request as ready for review November 17, 2024 07:45
@staabm staabm merged commit 183d799 into main Nov 17, 2024
28 checks passed
@staabm staabm deleted the cacherework branch November 17, 2024 07:45
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.

1 participant