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

smart_linebreak_after_curly, what it does? #26

Closed
FaridAghili opened this issue May 6, 2018 · 1 comment
Closed

smart_linebreak_after_curly, what it does? #26

FaridAghili opened this issue May 6, 2018 · 1 comment

Comments

@FaridAghili
Copy link

Just wondering what is the purpose of smart_linebreak_after_curly option.

It says:

convert multistatement blocks into multiline blocks

Can anyone please provide an example of what it does?
Thanks.

@kokororin
Copy link
Owner

if($a) echo array();

to

if($a) {
	echo array();
}

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

No branches or pull requests

2 participants