scrutinizer-ci/scrutinizer

Do not ignore PhpDoc on higher levels

Closed this issue · 1 comments

One of the recurring problems I have is that Scrutinizer uses own type inferring information as the primary source of information.

What I'd like to see is that Scrutinizer checks PhpDoc correctness on method level, but beyond that method it actually uses information that was explicitly provided by developer in PhpDoc section regardless whether Scrutinizer think it is correct or not.

This would greatly reduce number of false-positive inspections.

That's a really good suggestion, and our rewritten analysis will indeed work more like that.