Automattic / phpcs-neutron-standard

A set of phpcs sniffs for PHP >7 development
MIT License
94 stars 7 forks source link

Auto fix PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket #50

Closed sirbrillig closed 6 years ago

sirbrillig commented 6 years ago

Same as #49 but for PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket and PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket

sirbrillig commented 6 years ago

Example of what triggers this:

if ( is_null($this->last_non_zero_transaction) ) {
}

should be transformed into

if ( is_null( $this->last_non_zero_transaction ) ) {
}