Skip to content
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

variable assignment spanning multiple lines #84

Open
jnorell opened this issue Dec 28, 2021 · 1 comment
Open

variable assignment spanning multiple lines #84

jnorell opened this issue Dec 28, 2021 · 1 comment

Comments

@jnorell
Copy link

jnorell commented Dec 28, 2021

Hello,

Indenting is missed on multi-line variable assignment, eg. for something like this I would expect the second and third line to indent:

$sql = "select something "
. "from somewhere "
. "where conditions=match";

Is there a way to configure that to happen?

Thanks...

@2072
Copy link
Owner

2072 commented Aug 4, 2022

Hi,

It's something that happens only when the declaration is at col 0 and it's the first statement in the file:

<?php

$sql = "select something "
. "from somewhere "
. "where conditions=match";

$sql = "select something "
    . "from somewhere "
    . "where conditions=match";

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

No branches or pull requests

2 participants