phpcs-security-audit icon indicating copy to clipboard operation
phpcs-security-audit copied to clipboard

Misc/TypeJuggle: add unit tests + minor fix

Open jrfnl opened this issue 5 years ago • 1 comments

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.

jrfnl avatar Mar 16 '20 06:03 jrfnl

Anything I can do to move this PR forward ?

jrfnl avatar Jun 18 '20 07:06 jrfnl