Missing PHPDoc comment inspection does not work in 2020.3

My constructor method

Menu bar -> Code -> Run Inspection by Name

 

Result: No suspicious code found

This file is a new file and is staged in git.

It was working in 2019.2.

1

I see the problem is typed vs not-typed methods. When removed TH or RT then it highlights. How to change settings to ignore PHP types and warn anyway?

I need this because my project's coding styles require PHPDoc even for typed properties and methods. I need to handle it automatically by PHPStorm so I don't waste time to do this manually.

2

Ok, I found this

 

that is too bad. Is it hardcoded change or can I customize it? If the former then you must make it optional. Many projects use PHPDocs even for typed properties/methods and developers cannot waste time to track missing PHPDocs manually. In 2019.2 I could inspect for missing PHPDocs and generate them with one click.

0

That can't be customized yet. Please submit this as a new request to our tracker: https://youtrack.jetbrains.com/newIssue similarly to this one: https://youtrack.jetbrains.com/issue/WI-53719

0

请先登录再写评论。