Skip to content

Multi import statements allowed? #85

@gharlan

Description

@gharlan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions