Skip to content

PSR12.Traits.UseDeclaration doesnt apply the correct indent during auto fixing #2624

Closed
@dereuromark

Description

@dereuromark

Looks like it incorrectly counts the needed whitespace indentation around use statements now.

    use TransactionTrait;

    use PermissionAwareTrait;

is wrongly fixed to

    use TransactionTrait;
        use PermissionAwareTrait;

Note that the extra newline didnt have any noise whitespace, it was really just an empty one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions