Skip to content

Conversation

VincentLanglet
Copy link
Contributor

Closes phpstan/phpstan#13267

I fixed in on phpstorm-stubs.

Copy link
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this reported an error in CallMethodsRule?

@VincentLanglet
Copy link
Contributor Author

VincentLanglet commented Aug 30, 2025

Indeed it was CallStaticMethodsRule (I tried to revert the phpstorm stub to reproduce the error).

Fixed (Linting error is unrelated)

@ondrejmirtes ondrejmirtes merged commit 6726c9f into phpstan:2.1.x Sep 7, 2025
277 of 279 checks passed
@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.

built-in ErrorException $previous should be of type Throwable

2 participants