I've tried a lot of extensions, including PHP Intelephense and Space Inside Braces. I can't get what I want.
From the following code:
function foo($a, $b) {
}
foo($a, $b);
I want this result:
function foo( $a, $b ) {
}
foo( $a, $b );
Simple. Just CTRL+H (or Edit->Replace) and replace '(' with '( ' and ')' with ' )'.