Skip to content

PSR2.Namespaces.UseDeclaration.SpaceAfterUse should also check for space after use const/use function #2960

@umherirrender

Description

@umherirrender

If you have the following code:

use\Import\SomeClass;
use const\Import\SomeConst;
use function\Import\SomeFunction;

there is no hint to add a space after const or function.

Good: When using multiple spaces between use and const, it is detected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions