Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add stub for ConstraintViolationListInterface #120

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

Conversation

Copy link
Contributor

@ossinkine ossinkine commented Jan 7, 2021

No description provided.

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.

Copy link
Contributor Author

ossinkine commented Jan 7, 2021
edited
Loading

Checks also failed, @ondrejmirtes could you help?

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 reacted with heart emoji

@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
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /