From 7874f6ac5831794fa38725fab8e2e5356b95541c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 8 Feb 2021 19:42:10 +0300 Subject: remove PHPMD.UnusedFormalParameter --- plugins/no_iframes/init.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins/no_iframes') diff --git a/plugins/no_iframes/init.php b/plugins/no_iframes/init.php index 9711eeb24..dd3502cbd 100644 --- a/plugins/no_iframes/init.php +++ b/plugins/no_iframes/init.php @@ -14,9 +14,6 @@ class No_Iframes extends Plugin { $host->add_hook($host::HOOK_SANITIZE, $this); } - /** - * @SuppressWarnings(PHPMD.UnusedFormalParameter) - */ function hook_sanitize($doc, $site_url, $allowed_elements, $disallowed_attributes) { $xpath = new DOMXpath($doc); -- cgit v1.2.3-54-g00ecf