pmagentur/PHPMD Checker
PHPMD check code compatibility
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| phpmd_bin_path | Path to phpmd.phar file | no | /home/phpmd.phar |
| files | filename or directory | no | "" |
| renderers | PHPMD comes with the following renderers: xml, text, html, json, ansi, github,sarif,checkstyle | no | github |
| rules | Default rules or xml file | no | /home/pmphpmd.xml |
| only_changed_files | Run linter on changed files only | no | "" |
| head_sha_annotations | head_sha for creating annotations | no | "" |
| token | Personal access token (PAT) used to fetch the repository. The PAT is stored in memory and used to ask the Github API for a list of files changed in the PR. We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary. [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) | no | ${{ github.token }} |
Outputs
no outputs