PHPMD: suppress warnings

/**
 * @SuppressWarnings(PHPMD.UnusedFormalParameter)
 */

Unused code:

  • UnusedPrivateField
  • UnusedLocalVariable
  • UnusedPrivateMethod
  • UnusedFormalParameter

Naming:

  • ShortVariable
  • LongVariable
  • ShortMethodName
  • ConstructorWithNameAsEnclosingClass
  • ConstantNamingConventions
  • BooleanGetMethodName
  • VariableNamingConventions
  • MethodNamingConventions
  • ClassNamingConventions
  • AbstractNaming
  • AvoidFieldNameMatchingTypeName
  • AvoidFieldNameMatchingMethodName
  • NoPackage
  • MisleadingVariableName

Design:

  • ExitExpression
  • EvalExpression
  • GotoStatement
  • NumberOfChildren
  • DepthOfInheritance
  • CouplingBetweenObjects
  • DevelopmentCodeFragment

Controversial:

  • Superglobals
  • CamelCaseClassName
  • CamelCasePropertyName
  • CamelCaseMethodName
  • CamelCaseParameterName
  • CamelCaseVariableName

Code size:

  • CyclomaticComplexity
  • NPathComplexity
  • ExcessiveMethodLength
  • ExcessiveClassLength
  • ExcessiveParameterList
  • ExcessivePublicCount
  • TooManyFields
  • NcssMethodCount
  • NcssTypeCount
  • NcssConstructorCount
  • TooManyMethods
  • TooManyPublicMethods
  • ExcessiveClassComplexity

Clean code:

  • BooleanArgumentFlag
  • ElseExpression
  • StaticAccess
  • BooleanGetMethodName
  • ConstantNamingConventions
  • ConstructorWithNameAsEnclosingClass
  • CouplingBetweenObjects
  • CyclomaticComplexity
  • DepthOfInheritance
  • EvalExpression
  • ExcessiveClassComplexity
  • ExcessiveClassLength
  • ExcessiveMethodLength
  • ExcessiveParameterList
  • ExcessivePublicCount
  • GotoStatement
  • LongVariable
  • NPathComplexity
  • NumberOfChildren
  • ShortMethodName
  • ShortVariable
  • TooManyFields
  • TooManyMethods
  • UnusedLocalVariable
  • UnusedPrivateMethod