1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 16:05:56 +00:00

remove PHPMD.UnusedFormalParameter

This commit is contained in:
Andrew Dolgov
2021-02-08 19:42:10 +03:00
parent a341a838b1
commit 7874f6ac58
15 changed files with 3 additions and 63 deletions

View File

@@ -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);