Skip to content

Strange behavior indentation array #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
quentinhermiteau opened this issue Apr 2, 2019 · 2 comments
Open

Strange behavior indentation array #5

quentinhermiteau opened this issue Apr 2, 2019 · 2 comments

Comments

@quentinhermiteau
Copy link

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

@treyssatvincent
Copy link

treyssatvincent commented Jan 22, 2020

It's probably an issue of PHP-CS-Fixer, not this docker image.

It may have been already fixed by a PHP-CS-Fixer release.

@MetalArend
Copy link
Collaborator

Updated the version, can you check if the issue still exists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants