phillarmonic/PHP Composite Quality Checks
A composite action that sets up PHP and runs a suite of quality tools (PHPStan, PHPCS, Psalm, PHPMD) with Reviewdog for inline PR comments.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| php-version | The PHP version to use (e.g., '8.3', '8.2'). | no | 8.3 |
| thread-safe | Set to 'true' to install the Thread Safe (TS) version of PHP. Defaults to 'false' (NTS). | no | false |
| php-extensions | Comma-separated list of PHP extensions to install (e.g., 'mbstring, dom, intl'). | no | mbstring, dom, xml, intl |
| composer-options | Additional flags to pass to the 'composer install' command. | no | --prefer-dist --no-progress --no-suggest |
| path-to-check | The directory path to run the analysis on (e.g., 'src/', 'app/'). | no | src/ |
| phpstan-config | Path to the PHPStan configuration file (e.g., 'phpstan.neon'). | no | phpstan.neon |
| phpcs-standard | The ruleset for PHPCS (e.g., 'PSR12', path to '.phpcs.xml' file). | no | PSR12 |
| phpmd-ruleset | Path to the PHPMD ruleset file (e.g., 'phpmd.xml'). | no | phpmd.xml |
| github-token | The GITHUB_TOKEN secret, required for posting PR comments. | yes | ${{ github.token }} |
Outputs
no outputs