Skip to content

Strange behavior indentation array  #5

@quentinhermiteau

Description

@quentinhermiteau

Hello,

I just used your php-cs-fixer on my project and I find it a strange behavior when it tried to indent my array. My indentation settings on my IDE is 2 spaces. The array is correctly indented but based to the if condition, not to the self variable.

Here is the result of the changes:
image

Most likely expected changes:
image

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