Skip to content

Conversation

@zonuexe
Copy link
Member

No longer overindent it by default, since we don't see any mention in the coding style that it should hang ..

closes#227, #774 and #745, refs #229.

Note

If you have any feedback on PEAR style, please let us know in the discussion #776.

functionmy_func(){
return"a really long string with = inside " .
"some more text"; // ###php-mode-test### ((indent 49))
"some more text"; // ###php-mode-test### ((indent 8))
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously, this line was indented by PEAR style as shown below.

 function my_func(){return "a really long string with = inside " . - "some more text"; // ###php-mode-test### ((indent 49))+ "some more text"; // ###php-mode-test### ((indent 8)) }

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Return with multi-line strings indents strangely

2 participants

@zonuexe