per-coding-style icon indicating copy to clipboard operation
per-coding-style copied to clipboard

Multi import statements allowed?

Open gharlan opened this issue 11 months ago • 0 comments

PER Coding Style allows the use of grouped import:

use function Foo\Bar\{baz, qux};

But what about multi import statements?

use Foo\Bar, A\B\C;

use function array_key_exists, count, in_array;

In my opinion it should be allowed for root classes/functions/constants (because otherwise they could not be used in a grouped style). But it should be disallowed for namespaced elements.

gharlan avatar Mar 11 '24 20:03 gharlan