scrutinizer-ci / scrutinizer

Legacy repository - archives past feature requests/bug reports
https://scrutinizer-ci.com/docs
140 stars 36 forks source link

Do not ignore PhpDoc on higher levels #389

Closed nazar-pc closed 8 years ago

nazar-pc commented 8 years ago

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.

schmittjoh commented 8 years ago

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