Skip to content

Conversation

@rvanvelzen
Copy link
Contributor

Fix for phpstan/phpstan#7141. This does not actually work yet, but fixing it in an obvious way breaks other tests

@ondrejmirtes
Copy link
Member

Also please add a test so that "is not referenced in a parameter" is not reported :) (but it should be reported if the template type is not referenced in a parameter nor in conditional type target).

@rvanvelzen rvanvelzen changed the base branch from 1.7.x to 1.8.x September 1, 2022 15:01
@rvanvelzen rvanvelzen marked this pull request as ready for review September 19, 2022 13:45
@ondrejmirtes ondrejmirtes merged commit 43d3652 into phpstan:1.8.x Sep 19, 2022
@ondrejmirtes
Copy link
Member

Nice! Thank you very much.

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