preloads/core.php
Avoid unused parameters such as '$args'. Open
Open
public static function eventCoreIncludeCommonEnd($args)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class ExtgalleryCorePreload extends \XoopsPreloadItem
- Exclude checks