JetBrains PhpStorm code formatter problem
I have problem with phpStorm and code formatter
<?php
function foo()
{
if ($x > 5) {
echo "bar";
}
return
"string";
}
where can i change that formater will change
if ($x > 5) {
echo "bar";
}
to
if ($x > 5)
{
开发者_如何学编程 echo "bar";
}
Settings
| Code Style
| PHP
| Wrapping and Braces
, Braces placement
Other
: Next line.
精彩评论