最佳答案
I have a project in PHPStorm, which contains a few libraries (Zend, Doctrine, ...) grouped under a library
folder.
When running the code inspection, I do want the PHP code in these folders to be analysed (so that PHPStorm will know how Zend_Form
is declared, for example).
However, I do not want the issues found in these folders to be reported, as they are out of my control.
The only workaround I've found so far is to mark the directories as "Test source", and uncheck the "Include test sources" box in the code inspection window. Needless to say that this is not the best solution!