Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[phpcs] Add sniffs for function declaration and -calls
When declaring a function - Do not add a space before a comma - Add a space after a comma - Add a space after an equal sign Example: function myFunction($x, $y, $z = null){...} When calling a function - Do not add a space before the opening parenthesis - Do not add a space after the opening parenthesis - Do not add a space before the closing parenthesis - Do not add a space before a comma - Add a space after a comma Example: myFunction('x', 'y', 'z');
- Loading branch information