Automattic / VIP-Coding-Standards

PHP_CodeSniffer ruleset to enforce WordPress VIP coding standards.
https://wpvip.com/documentation/how-to-install-php-code-sniffer-for-wordpress-com-vip/
Other
236 stars 40 forks source link

Disable WordPress.Security.EscapeOutput.ExceptionNotEscaped #824

Closed rebeccahum closed 3 months ago

rebeccahum commented 3 months ago

This ruleset is disabled by several teams already, so we should just disable it due to its controversy as we've discussed internally.

For example, this triggers it:

throw new InvalidArgumentException( __( 'Bad request.', 'two-factor-provider-webauthn' ) );