title: How to exclude files/folders from code inspection in PHPStorm?
body: <p>I have a project in PHPStorm, which contains a few libraries (Zend, Doctrine, ...) grouped under a <code>library</code> folder.</p>
  
  <p>When running the code inspection, I <em>do</em> want the PHP code in these folders to be analysed (so that PHPStorm will know how <code>Zend_Form</code> is declared, for example).</p>
  
  <p>However, I <em>do not</em> want the issues found in these folders to be reported, as they are out of my control.</p>
  
  <p>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!</p>