Please enable `Optimize imports` functionality in PhpStorm, so it can sort namespaces on each change. And run it manually on changed files now.