scrutinizer-ci / scrutinizer

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

Disable "too" specific suggested types? #298

Open Anahkiasen opened 9 years ago

Anahkiasen commented 9 years ago

Currently all the type docblocks are united under one check. Most of the time Scrutinizer suggests to make something more specific and provides healthy suggestions like string[] instead of array, etc. But sometimes it just suggests these crazy guys: array<string,array<...,string>>>>

While I agree this is more specific, I've never seen that syntax before, it's not part of PSR5 as far as I know, and it's not understood by PHPStorm or any tools I've used (I'm still not sure I understand it myself to be honest). Is there a way to disable these specific suggestions but keep the more classic ones?

schmittjoh commented 9 years ago

Thanks for opening; definitely something we want to look at.

Unfortunately, there is no way to configure something like this. For the moment, I'd suggest to ignore the ones that look too complex.