Update renamed NotCamelCaps rule
[MAILPOET-3658]
This commit is contained in:
committed by
Veljko V
parent
76fe9082a3
commit
65b834a9ff
@@ -38,9 +38,9 @@ class ViewInBrowser {
|
||||
}
|
||||
|
||||
private function abort() {
|
||||
global $wp_query;// phpcs:ignore Squiz.NamingConventions.ValidVariableName.NotCamelCaps
|
||||
global $wp_query;// phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
|
||||
WPFunctions::get()->statusHeader(404);
|
||||
$wp_query->set_404();// phpcs:ignore Squiz.NamingConventions.ValidVariableName.NotCamelCaps
|
||||
$wp_query->set_404();// phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user