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.
PER Coding Style allows the use of grouped import:
But what about multi import statements?
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.