phpcs-security-audit
phpcs-security-audit copied to clipboard
Misc/TypeJuggle: add unit tests + minor fix
Related to #57, follow up on #70, this PR adds unit tests for the Security.Misc.TypeJuggle sniff.
Commit Summary
Misc/TypeJuggle: add unit tests
Misc/TypeJuggle: use the build-in PHPCS functionality
The PHPCS addError() and addWarning() functions have a build-in string replacement sprintf()-like functionality, so let's use it.
Anything I can do to move this PR forward ?