title: PhpStorm PHP class shows up as normal file in project browser
body: <p>I am working on a Symfony project in PhpStorm and I created a PHP class, but this file isn't recognized by PhpStorm as a class, so I have no autocomplete and barely any syntax highlights for this class.</p>
  
  <p>Here is how it looks (Notice the little file icon to the left of <code>AdminGroupsContextBuilder.php</code>, it should be a c like <code>Kernel.php</code> has):</p>
  
  <p><a href="https://i.stack.imgur.com/K9YOI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K9YOI.png" alt="enter image description here"></a></p>
  
  <p>I am not sure why this happens, and I tried <a href="https://stackoverflow.com/questions/33068722/phpstorm-not-recognizes-a-php-class">this solution</a>, but I don't have any unwanted patterns in the File Types.</p>
  
  <p>I also tried deleting the file and recreating it, <code>File &gt; Invalidate Cache / Restart</code> and deleting the <code>.idea</code> folder in the project dir but nothing will work.</p>
  
  <p>Has anyone had a similar problem?</p>