There MUST NOT be a space after the opening parenthesis. There MUST NOT be a space before the closing parenthesis.
You should use spaces_inside_parentheses
instead.
--- Original
+++ New
<?php
-if ( $a ) {
- foo( );
+if ($a) {
+ foo();
}
--- Original
+++ New
<?php
-function foo( $bar, $baz )
+function foo($bar, $baz)
{
}