title: How to fix namespace not being determined in new folders project?
body: <p>I upgraded from phpstorm7 to phpstorm8. Now, whenever I create a new PHP class in an existing folder, the namespace is inserted correctly. Yet when I create an empty folder and create in there a new class, the namespace is empty and I would have to manually add it.</p>
  
  <p>In pictures:</p>
  
  <ol>
  <li>Existing folder has the namespace:<br>
  <img src="https://i.stack.imgur.com/JthxD.png" alt="Example of the namesapce being inserted for an existing folder"></li>
  <li>New folder in the same project lacks the namespace.
  <img src="https://i.stack.imgur.com/lZgYa.png" alt="Example of the namespace not being generated for a new folder"></li>
  </ol>
  
  <p>How can I tell phpstorm to always autogenerate the current namespace?</p>