mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:15:55 +00:00
update phpmd ruleset to use (subset) of cleancode
fix various minor issues reported by static analysis remove redundant php closing tag from several more files
This commit is contained in:
@@ -14,6 +14,9 @@ class Af_Youtube_Embed extends Plugin {
|
||||
$host->add_hook($host::HOOK_RENDER_ENCLOSURE, $this);
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
*/
|
||||
function hook_render_enclosure($entry, $hide_images) {
|
||||
|
||||
$matches = array();
|
||||
@@ -37,4 +40,3 @@ class Af_Youtube_Embed extends Plugin {
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user