Skip to content

Conversation

kapilmb
Copy link

@kapilmb kapilmb commented Jun 14, 2017

Prior to the fix, whenever the user sets NewLineAfter = $false, the rule would ignore instances where a new line would follow a close brace. With this PR, whenveer NewLineAfter = $false, the rule enforces no new line after close braces that are followed branching statements. This would provide the ability to cuddle the following statements:

  • else
  • elseif
  • catch
  • finally.

@kapilmb kapilmb merged commit 50595fd into development Jun 15, 2017
@kapilmb kapilmb deleted the kapilmb/fix-place-close-brace branch June 15, 2017 16:53
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.

2 participants