Skip to content

Conversation

ossinkine
Copy link
Contributor

No description provided.

@ossinkine
Copy link
Contributor Author

Could someone test this? I've added this to my project and got the error PHPDoc tag @extends has invalid type Symfony\Component\Validator\ConstraintViolationInterface and I have no idea why.

@ossinkine
Copy link
Contributor Author

ossinkine commented Jan 7, 2021

Checks also failed, @ondrejmirtes could you help?

@ondrejmirtes
Copy link
Member

The documentation states why you got this error: https://phpstan.org/user-guide/stub-files

See the section "Why is PHPStan complaining about “Class not found” in a stub file?".

@ossinkine ossinkine force-pushed the constraint-violation-list-interface-stub branch from 1ed89cf to 8c2eefe Compare January 8, 2021 10:28
@ondrejmirtes ondrejmirtes merged commit d8313ec into phpstan:master Jan 8, 2021
@ondrejmirtes
Copy link
Member

Thank you!

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