discoverygarden/CodeSniffer
Runs static analysis on your PHP code.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | The path (or paths) to run the analysis on. | no | ./ |
| extensions | Comma separated list of file extensions to test - used by phpcs. | no | php,module,inc,install,test,profile,theme,css,info,md,yml |
| suffix | Allows for additional suffix to be tracked - used by phpcpd. | no | php,module,inc,install,test,profile,theme,css,info,md,yml |
| lint | Comma separated list of file extentions to lint. | no | php,module,inc,install,test |
| phpcs-ignore | Comma separated list of files to ignore. | no | *.md |
| phpcpd-exclude | Comma separated list of files to ignore. | no | — |
| syntax-continue | Flag to allow workflow to pass on Syntax step failure. | no | false |
| standards-continue | Flag to allow workflow to pass on Standards step failure. | no | false |
| phpcpd-continue | Flag to allow workflow to pass on PHPCPD step failure. | no | false |
Outputs
no outputs