Skip to content
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

[8.1.0] MockBuilder Type-Hints broken for PHPStorm/PHPStan #3589

Closed
possi opened this issue Apr 5, 2019 · 1 comment
Closed

[8.1.0] MockBuilder Type-Hints broken for PHPStorm/PHPStan #3589

possi opened this issue Apr 5, 2019 · 1 comment

Comments

@possi
Copy link

possi commented Apr 5, 2019

Q A
PHPUnit version 8.1.0
PHP version 7.2.15
Installation Method Composer
PHPStan version 0.10.8

As commented here: 60db534#r33047915

Type hints for MockBuilder -> getMock() -> method() are broken.
This affects static analysis of IDEs like PHPStorm as well as phpstan. No runtime issue so; phpunit runs fine and all tests pass

@sebastianbergmann
Copy link
Owner

Duplicate of #3588.

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

No branches or pull requests

2 participants