magento / magento/magento-coding-standard
Migrate Magento PHMD ruleset
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 375
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
### Rule
Same rules as https://github.com/magento/magento2/blob/2.3.4/dev/tests/static/testsuite/Magento/Test/Php/_files/phpmd/ruleset.xml
### Reason
Running phpmd without requiring a full installation of Magento makes it easier to run the mess detection in isolation
### Implementation
Provide a copy of the Magento phpmd ruleset in this repository
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
Start by reviewing the Magento 2.3.4 ruleset at the linked dev/tests/static/testsuite/Magento/Test/Php/_files/phpmd/ruleset.xml and locate the corresponding ruleset location in this repository. Done means the same PHPMD rules are available here without requiring a full Magento installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100