borisyanez/Rustor PHP Refactoring
Analyze and modernize PHP code with rustor
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path to PHP files (default: current directory) | no | . |
| preset | Rule preset (recommended, performance, modernize, all) | no | recommended |
| php-version | Target PHP version | no | 8.2 |
| rules | Comma-separated list of specific rules to enable | no | — |
| format | Output format (text, json, sarif, github) | no | github |
| fail-on-changes | Fail the action if changes are suggested | no | true |
| only-changed | Only check files changed in the PR | no | false |
| fix | Apply fixes automatically (creates commit) | no | false |
Outputs
| name | description |
|---|---|
| files-changed | Number of files with suggested changes |
| total-edits | Total number of suggested edits |