actions-marketplace-validations/Run phpcs with reviewdog
🐶 Run phpcs with reviewdog on pull requests to improve code review experience.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Nov 16, 2022
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/shirobrak_action-phpcs@182ecf7bce97e3d986b48123b7f5c4b8ae9e2394 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN. | yes | ${{ github.token }} |
| level | Report level for reviewdog [info, warning, error] | — | error |
| reporter | Reporter of reviewdog command [github-pr-check,github-pr-review]. Default is github-pr-check. github-pr-review can use Markdown and add a link to rule page in reviewdog reports. | — | github-pr-check |
| filter_mode | Filtering mode for the reviewdog command [added,diff_context,file,nofilter]. Default is added. | — | added |
| fail_on_error | Exit code for reviewdog when errors are found [true,false] Default is `false`. | — | false |
| reviewdog_flags | Additional reviewdog flags | — | "" |
| phpcs_flags | flags and args of phpcs command. Default: '.' | — | "" |
| workdir | The directory from which to look for and run phpcs. Default '.' | — | . |
| tool_name | Tool name to use for reviewdog reporter | — | phpcs |
Outputs
no outputs