1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +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
-3
View File
@@ -642,9 +642,6 @@ class API extends Handler {
return $feeds;
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
static function api_get_headlines($feed_id, $limit, $offset,
$filter, $is_cat, $show_excerpt, $show_content, $view_mode, $order,
$include_attachments, $since_id,
-3
View File
@@ -1,9 +1,6 @@
<?php
class Logger_Stdout {
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
function log_error($errno, $errstr, $file, $line, $context) {
switch ($errno) {
+1 -4
View File
@@ -1,9 +1,6 @@
<?php
class Logger_Syslog {
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
function log_error($errno, $errstr, $file, $line, $context) {
switch ($errno) {
@@ -30,4 +27,4 @@ class Logger_Syslog {
}
}
}
-3
View File
@@ -22,9 +22,6 @@ abstract class Plugin {
return array();
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
function is_public_method($method) {
return false;
}
-3
View File
@@ -331,9 +331,6 @@ class RSSUtils {
}
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
static function update_rss_feed($feed, $no_cache = false) {
Debug::log("start", Debug::$LOG_VERBOSE);