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.
In pictures:
- Existing folder has the namespace:
- New folder in the same project lacks the namespace.
How can I tell phpstorm to always autogenerate the current namespace?