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

Add support to requireParentConstructorCall for indirect calls #222

Open
TravisCarden opened this issue Jul 7, 2023 · 0 comments
Open

Comments

@TravisCarden
Copy link

As originally reported in phpstan/phpstan#9577, calling a constructor indirectly, e.g., via a trait method alias, is not supported by requireParentConstructorCall. I am opening this issue per @ondrejmirtes's request there.

Code snippet that reproduces the problem

https://phpstan.org/r/3d12f7cf-b4dd-4ba3-be0d-5738eba76d53

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

No branches or pull requests

1 participant