Skip to content

Sort named arguments breaks file #9492

@hschimpf

Description

@hschimpf

Bug Report

Subject Details
Rector version v2.2.6

When Rector tries to sort named arguments, it breaks the PHP file.

Minimal PHP Code Causing Issue

https://getrector.com/demo/b48e52e8-c0d7-4115-9923-e6b008ef838a

Expected Behaviour

The named arguments should be sorted without breaking the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions