In phpfmt for Sublime Text 3 to add or leave spacing around parameters to functions?

There is a function:
function test($a, $b) {
 for ($i = 0; $i < 10; $i++) {
 if ($i == 2) {
 return "true";
}
}
}


As with phpfmt to get this result?
function test( $a, $b ) {
 for ( $i = 0; $i < 10; $i++ ) {
 if ( $i == 2 ) {
 return "true";
}
}
}
April 3rd 20 at 17:23
1 answer
April 3rd 20 at 17:25
Solution
UNACCEPTABLE (PSR-2)
Thank you! Happy ))) - Georgianna.Beah commented on April 3rd 20 at 17:28

Find more questions by tags Sublime Text