Make phpStorm stop complaining about phpDoc while maitaining other annotations

Whenever I add a @dataProvider annotation to a test in PhpUnit, PhpStorm thinks I want to do PhpDoc documentation and it starts complaining about the parameters of the method.

Here there's an example:

Is it possible to maintain some annotations active, for example the helpers for auto-completing the @dataProvider things (it does a pretty good job detecting the provider method) but tell the IDE I don't want full PhpDoc things so it stops underlining the parameter and stops complaining about it?

0
1 comment

You can disable PHPDoc-related inspections at Settings | Editor | Inspections | PHP | PHPDoc.

0

Please sign in to leave a comment.