jafranonline/phpwpcs
WordPress Coding Standards checker with PHP Compatibility
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| paths | Paths to check | no | . |
| standards | PHPCS standards (WordPress,WordPress-Core,WordPress-Extra,PHPCompatibility) | no | WordPress,PHPCompatibility |
| php-version | PHP version (7.4-8.3) | no | 8.0 |
| min-php-version | Minimum PHP version for compatibility | no | 7.4 |
| max-php-version | Maximum PHP version for compatibility | no | 8.3 |
| config-url | Custom phpcs.xml URL | no | "" |
| fail-on | Fail on (error, warning, never) | no | error |
| ignore-patterns | Patterns to ignore | no | vendor/*,node_modules/*,build/*,dist/* |
Outputs
| name | description |
|---|---|
| violations | Total violations |
| errors | Error count |
| warnings | Warning count |
| files | Files checked |