https://github.com/zgldh/phpmd-base-ruleset
PHPMD base ruleset
https://github.com/zgldh/phpmd-base-ruleset
Last synced: 29 days ago
JSON representation
PHPMD base ruleset
- Host: GitHub
- URL: https://github.com/zgldh/phpmd-base-ruleset
- Owner: zgldh
- License: mit
- Created: 2019-01-03T12:06:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-04T05:40:49.000Z (over 7 years ago)
- Last Synced: 2025-03-20T22:53:02.363Z (about 1 year ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# phpmd-base-ruleset
PHPMD base ruleset
## Usage
1. `composer require zgldh/phpmd-base-ruleset`
2. `cp vendor/zgldh/phpmd-base-ruleset/ruleset.template.xml ./phpmd_ruleset.xml`
3. `vendor/bin/phpmd ./ xml phpmd_ruleset.xml --suffixes php --reportfile phpmd_report.xml`
You can integrate PHPMD into Jenkins or other CI/CD tools.