Closed jrfnl closed 9 months ago
@DannyvdSluijs Nice find. Would you be up for creating PRs to fix this up for those other sniffs ?
@DannyvdSluijs Nice find. Would you be up for creating PRs to fix this up for those other sniffs ?
Definitely. Will try and see if I can create them today/tomorrow.
Definitely. Will try and see if I can create them today/tomorrow.
Closing as replaced by https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/48
FYI: this fix is included in today's PHP_CodeSniffer 3.8.0 release.
As per #3932, development on PHP_CodeSniffer will continue in the PHPCSStandards/PHP_CodeSniffer repository. If you want to stay informed, you may want to start "watching" that repo (or watching releases from that repo).
Use
space
/spaces
depending on the value of the$spacing
property instead of usingspace(s)
in the error message.Original output:
Improved output: