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

@@ -211,7 +211,7 @@ class WP_Http_Cookie {
*
* @return string Header encoded cookie name and value.
*/
public function getHeaderValue() {
public function getHeaderValue() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
if ( ! isset( $this->name ) || ! isset( $this->value ) ) {
return '';
}
@@ -234,7 +234,7 @@ class WP_Http_Cookie {
*
* @return string
*/
public function getFullHeader() {
public function getFullHeader() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
return 'Cookie: ' . $this->getHeaderValue();
}