-
Notifications
You must be signed in to change notification settings - Fork 504
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
Reproduce Bug 10523 #2897
Reproduce Bug 10523 #2897
Conversation
This pull request has been marked as ready for review. |
@@ -355,6 +359,12 @@ private function getMethodsCalledFromConstructor( | |||
continue; | |||
} | |||
|
|||
if ($inMethod->getName() !== '__construct') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at this point we take the properties which have been assigned in __construct
over to the additionalConstructor
methods as described in phpstan/phpstan#10523 (comment).
90db4f7
to
664d819
Compare
I think this one is ready for a review |
This also fixes phpstan/phpstan#10822 please add a regression test for that. |
@ondrejmirtes here you are |
Thank you. |
closes phpstan/phpstan#10523
closes phpstan/phpstan#10822