8000 New LongMethodName Rule · Issue #486 · phpmd/phpmd · GitHub
[go: up one dir, main page]

Skip to content
8000
New LongMethodName Rule #486
Open
@ravage84

Description

@ravage84

At the moment, we have:

  • ShortVariable: Detects when a field, local, or parameter has a very short name.
  • LongVariable: Detects when a field, formal or local variable is declared with a long name.
  • ShortMethodName: Detects when very short method names are used.

https://phpmd.org/rules/index.html#naming-rules

But we do not have a LongMethodName rule.

We should consider adding one, as an extensively long method name could be a sign of doing too much at once.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0