12

Just had a discussion on our PHPeople Austria Discord Server about this example in @phpstorm

When already using the Bar class, the default behavior seems to be that Quz is used like this (Bar\Baz\Quz) instead of adding another use statement.

Intuitively I'd prefer to just add an import (/use) for the FQN of a class, in any case by default, but it seems there is no setting to achieve this.
Wonder why...do most people prefer the version in the image?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 22 Oct 2024
12 points (100.0% liked)

PhpStorm

56 readers
1 users here now

A community for the PhpStorm IDE for PHP developers! https://www.jetbrains.com/phpstorm/

Copyright © 2024 JetBrains s.r.o. PHPStorm and the PHPStorm logo are registered trademarks of JetBrains s.r.o.

founded 9 months ago
MODERATORS