title: HTML code Inspection of blocks split up into several files in PhpStorm
body: <p>Is there a way to tell PhpStorm to only evaluate header.php together with footer.php (as a browser would do when running index.php)?</p>
  
  <p>Consider a project containing 4 files</p>
  
  <ul>
  <li>index.php &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp; server side stuff, business logic</li>
  <li>header.php -&nbsp;&nbsp; html with some php prints</li>
  <li>item.php&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp; html with some php prints</li>
  <li>footer.php&nbsp;&nbsp; -&nbsp;&nbsp; html with some php prints</li>
  </ul>
  
  <p>index.php</p>
  
  <pre><code>&lt;?php
  //Do some important stuff
  include 'templates/header.php';
  
  foreach($some_array as $item){
      include 'templates/item.php';
  }
  
  include 'templates/footer.php';
  </code></pre>
  
  <p>header.php</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;&lt;title&gt;&lt;?=$foo;?&gt;&lt;/title&gt;&lt;/head&gt;
  &lt;body&gt;
      &lt;div id="main"&gt;
  </code></pre>
  
  <p>item.php</p>
  
  <pre><code>        &lt;div class="item"&gt;&lt;?=$var;?&gt;&lt;/div&gt;     
  </code></pre>
  
  <p>footer.php</p>
  
  <pre><code>    &lt;/div&gt; &lt;!-- close #main --&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I do "Inspect Code..." on a project like this I get errors/warnings of the type "Closing tag matches nothing (at line x)" and similar. Is there a way to tell PhpStorm to only evaluate header.php together with footer.php? I Know that you can opt out "header.php" and "footer.php" from the scope but I would like to evaluate them as a unit.</p>