]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/af_comics/init.php
update phpmd ruleset to use (subset) of cleancode
[tt-rss.git] / plugins / af_comics / init.php
index 31994176e748ecbf2720476f440963f165037d15..15af1d1a6d6dd4b83cd88f4bed9757679a1c21cd 100644 (file)
@@ -63,18 +63,18 @@ class Af_Comics extends Plugin {
        }
 
        function hook_article_filter($article) {
-               $owner_uid = $article["owner_uid"];
-
                foreach ($this->filters as $f) {
                        if ($f->process($article))
                                break;
                }
 
                return $article;
-
        }
 
        // GoComics dropped feed support so it needs to be handled when fetching the feed.
+       /**
+        * @SuppressWarnings(PHPMD.UnusedFormalParameter)
+        */
        function hook_fetch_feed($feed_data, $fetch_url, $owner_uid, $feed, $last_article_timestamp, $auth_login, $auth_pass) {
                if ($auth_login || $auth_pass)
                        return $feed_data;
@@ -143,5 +143,4 @@ class Af_Comics extends Plugin {
                return 2;
        }
 
-}
-?>
+}
\ No newline at end of file