Wrong indentation level for curly braces on new line
Brought to you by:
hkodungallur,
tchule
Originally created by: compufr...@gmail.com
phpcheckstyle seems to expect that curly braces on a new line should be idented the same level as the body, instead of the same level as the function definition:
function foo()
{ //It wants this bracket to be indented
//code
} //And this bracket too
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tch...@hotmail.com
Thanks for the report, I will have a look as soon as possible.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tch...@hotmail.com
If think I have isolated the problem.
The rule "checkWhiteSpaceBefore" is launched in case of "new line" and "same line" styles.
If have updated the file so that the rule is only launch in case of "same line" style.
Can you try the attached file and see if it corrects you problem ?
If this is correct I may to generalise the solution.
Status: Accepted
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tch...@hotmail.com
(No comment was entered for this change.)
Status: Fixed