Coding Standards: Fix/ignore the WordPress.NamingConventions.ValidFunctionName violations.

See #47632



git-svn-id: https://develop.svn.wordpress.org/trunk@45580 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast
2019-07-01 08:00:12 +00:00
parent d2c4198623
commit ef5a9dfda6
26 changed files with 50 additions and 43 deletions

View File

@@ -21,7 +21,7 @@ function tests_get_phpunit_version() {
/**
* Resets various `$_SERVER` variables that can get altered during tests.
*/
function tests_reset__SERVER() {
function tests_reset__SERVER() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
$_SERVER['HTTP_HOST'] = WP_TESTS_DOMAIN;
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
$_SERVER['REQUEST_METHOD'] = 'GET';