mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +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:
@@ -43,4 +43,3 @@ class Af_Lang_Detect extends Plugin {
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -64,6 +64,8 @@ require_once __DIR__ . '/Text/LanguageDetect/ISO639.php';
|
||||
* @version Release: @package_version@
|
||||
* @link http://pear.php.net/package/Text_LanguageDetect/
|
||||
* @todo allow users to generate their own language models
|
||||
*
|
||||
* @SuppressWarnings(PHPMD)
|
||||
*/
|
||||
class Text_LanguageDetect
|
||||
{
|
||||
@@ -1704,5 +1706,3 @@ class Text_LanguageDetect
|
||||
}
|
||||
|
||||
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
|
||||
|
||||
?>
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
* @copyright 2011 Christian Weiske <cweiske@php.net>
|
||||
* @license http://www.debian.org/misc/bsd.license BSD
|
||||
* @link http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||
*
|
||||
* @SuppressWarnings(PHPMD)
|
||||
*/
|
||||
class Text_LanguageDetect_ISO639
|
||||
{
|
||||
@@ -337,5 +339,3 @@ class Text_LanguageDetect_ISO639
|
||||
return self::$code3ToName[$code];
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -345,5 +345,3 @@ class Text_LanguageDetect_Parser extends Text_LanguageDetect
|
||||
}
|
||||
|
||||
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user