class NumberOfChildren has property name "minimum" that clashes with description
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 2.5k
- Forks
- 361
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 11
Description
It basically ends up looking like this in the ruleset xml file:
<property name="minimum" value="15" description="Maximum number of acceptable child classes." />
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open src/main/php/PHPMD/Rule/Design/NumberOfChildren.php at line 39 and compare the property name with its description. Confirm the resulting ruleset XML presents a description consistent with the property; done when the contradiction is removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100