You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, PHPMD has the following two checks which I believe are problematic:
The camelCase variable names apply to Zend and Symfony but not Drupal and Wordpress.
Avoiding "else" statements is controversial: I don't believe there is consensus that the use of else statements correlates with poor code. And it is a little redundant in that it would be caught by Cyclomatic Complexity and NPath Complexity metrics.
Proposed Resolution
Turn off the CamelCaseClassName, CamelCasePropertyName, CamelCaseMethodName, CamelCaseParameterName, CamelCaseVariableName checks by default.
Turn off the ElseExpression check by default.
The text was updated successfully, but these errors were encountered:
Problem
By default, PHPMD has the following two checks which I believe are problematic:
Proposed Resolution
The text was updated successfully, but these errors were encountered: