Skip to content

Conversation

zonuexe
Copy link
Member

@zonuexe zonuexe commented Dec 17, 2023

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.

@@ -8,5 +8,5 @@

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))
Copy link
Member Author

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 free to 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
1 participant