update PHPCS ruleset and re-enable warnings
This commit is contained in:
@ -354,6 +354,8 @@ class StatifyBlacklist_Admin extends StatifyBlacklist {
|
||||
array_flip( $expressions ),
|
||||
function ( $re ) {
|
||||
// Check of preg_match() fails (warnings suppressed).
|
||||
|
||||
// phpcs:disable WordPress.PHP.NoSilencedErrors.Discouraged
|
||||
return false === @preg_match( StatifyBlacklist::regex( $re, false ), null );
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user