]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/no_iframes/init.php
update phpmd ruleset to use (subset) of cleancode
[tt-rss.git] / plugins / no_iframes / init.php
index 35f7187f5843827a1aab8a61a3e40440eea32c41..18cc3ba17f76ea13a62abc63ca1e0c7ceeaec778 100644 (file)
@@ -14,6 +14,9 @@ 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);
@@ -31,5 +34,4 @@ class No_Iframes extends Plugin {
                return 2;
        }
 
-}
-?>
+}
\ No newline at end of file