workofstan/PHP Code Beautifier and Fixer
Sniff the PHP code and beautify it if necessary.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| commit-changes | If true, commit changes to the current branch | — | false |
| commit-message | Commit message for the changes | — | chore(phpcf): apply PHP Code Beautifier fixes automatically |
| debug | Enable extra debug output | — | false |
| extensions | Comma delimited list of extensions to be sniffed | no | php |
| ignore | Ignore files based on a comma-separated list of patterns matching files and/or directories. | no | vendor/ |
| php-version | PHP version to be used for running phpcs and phpcbf | no | 8.2 |
| standard | The name of, or the path to, the coding standard to use. Can be a comma-separated list specifying multiple standards. | no | "" |
| stop-on-manual-fix | If true, the execution will stop when manual fixes are necessary. | — | false |
Outputs
| name | description |
|---|---|
| branch-name | The branch where changes were committed |
| changed-files | Comma-separated list of files changed by phpcbf |