PSR-12 formatting of namespaces
PSR-12 says grouped namespaces, when folded, should look like:
use Vendor\Package\SomeNamespace\{
SubnamespaceOne\ClassA,
SubnamespaceOne\ClassB,
SubnamespaceTwo\ClassY,
ClassZ,
}
Unfortunately my PHPStorm keeps formatting them like:
use Vendor\Package\SomeNamespace\{SubnamespaceOne\ClassA,
SubnamespaceOne\ClassB,
SubnamespaceTwo\ClassY,
ClassZ};
Am I missing the right formatting option or is PHPStorm lagging with implementing PSR-12 (more than a year now)?
Please sign in to leave a comment.
I cannot reproduce that for some reason: https://recordit.co/Co9MfGyRxU
Could you please export your code style scheme as XML and share it somewhere?