Remove the AutoImport Feature for Namespaces in PHPStorm

By | 21/03/2014

Most of the time it is really fine like it is configured in PHPStorm, but sometimes, or in some types of projects, you don’t want to import the namespace with a “use” statement, instead you want to have the full qualified class identifier in your code. The default configuration of PHPStorm is to replace the full qualified namespace with a use statement at the top of your class.

If you want to turn it of, follow this two simple steps.

1. Disable the inspection, other you will get warnings all the time:


2. Disable the auto import function, that replaces your full qualified class name with the use statement.

Auto import feature

Perhaps it helps someone. At least it helped one person until know 😉