squizlabs/PHP_CodeSniffer — pull request #88 by klausi (2013-01-10 21:53:14+00:00)
Title: Spacing errors between equal signs and default values in function declarations.

Unfortunately I was not able to write a test case for this, because the bug hits especially for coding standards where the spacing after the equal sign is > 0. I'm setting the equalsSpacing property to 1 for Drupal.

But even for the Squiz standard the error message is wrong if you have one space before and two after the equal sign in a function declaration.

How can we test this?