-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
No autocompletion of assert* methods with PHPStorm 2016.2 #2243
Comments
Sorry, but this is a PhpStorm issue. |
OT: Yes, it is a PhpStorm issue, just call autocomplete (Control + Space) twice and it will show static methods also. |
@eclipxe13 Thanks a lot for a solution! |
@eclipxe13 I wish this was added to the PhpUnit docs! |
it should be already fixed, see https://youtrack.jetbrains.com/issueMobile/WI-32530 |
@eclipxe13 As a note, one can also write
|
I realize this is a tool-specific issue and I'm aware of the reasons as per #1914, but thought you may wish to be aware of this issue anyway due to the specific nature of PHPUnit.
As of PHPStorm 2016.2, static methods are filtered when auto-completing from a non-static context. This obviously breaks the recommended / documented way of writing tests for PHPStorm users.
Related issues:
#1914
https://youtrack.jetbrains.com/issue/WI-32493
The text was updated successfully, but these errors were encountered: