Skip to content

Conversation

@dktapps
Copy link
Contributor

@dktapps dktapps commented Jul 24, 2021

I'm not sure if this needs to be added somewhere for 8.0 as well? The stubs will have it correct, but won't be as detailed about the type.

@ondrejmirtes
Copy link
Member

Please write some NodeScopeResolverTest asserts to confirm what works and what doesn't.

@dktapps
Copy link
Contributor Author

dktapps commented Jul 25, 2021

I'm not sure how to write such test for NodeScopeResolver. I don't think assertType test suit for this.

@ondrejmirtes
Copy link
Member

Oh, it's about accepting, not returning. So you need to test it in CallToFunctionParametersRuleTest.

@ondrejmirtes ondrejmirtes merged commit 1e7ceae into phpstan:master Jul 25, 2021
@ondrejmirtes
Copy link
Member

Thank you!

@dktapps dktapps deleted the proc-open-php74 branch July 25, 2021 20:28
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.

2 participants