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

Autoloaders prefer local classes #268

Conversation

shochdoerfer
Copy link
Member

Fixes #249. Since PHPStan 1.7.5 autoloaders "overwrite" local classes. Given that, we need to check if factories or proxy classes exist locally and load those implementations instead of generating a class.

@shochdoerfer shochdoerfer added this to the 0.24.0 milestone Aug 13, 2022
@shochdoerfer shochdoerfer merged commit 5cfa832 into bitExpert:master Aug 13, 2022
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.

Factory Generator Overrides Concrete Factory
1 participant