codemanufacture/Magento 2 coding standard analysis with PHP_CodeSniffer
Performs static code analysis with PHP_CodeSniffer and Magento 2 coding standard by default
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| standard | The name or path of the coding standard to use | yes | Magento2 |
| report_style | — | no | checkstyle |
| severity | The minimum severity required to display an error or warning | no | — |
| warning_severity | The minimum severity required to display warning | no | — |
| error_severity | The minimum severity required to display an error | no | — |
| verbosity | Code Sniffer verbosity | no | "" |
| phpcs_path | Path to PHP_CodeSniffer binary | yes | phpcs |
| install_coding_standard | Installs coding standard | no | true |
| coding_standard_version | Coding standard version | no | * |
| coding_standard_package | Coding standard package name | no | magento/magento-coding-standard |
| file_list | Working directory or file list to analyse | no | ${{ github.workspace }} |
| processes | How many files should be checked simultaneously | no | 1 |
| extensions | A comma separated list of file extensions to check | no | php |
| ignore_warnings_on_exit | — | no | 0 |
| ignore_errors_on_exit | — | no | 0 |
| ignore | A comma separated list of patterns to ignore files and directories | no | — |
| pr_modified_files_only | Restricts analysis to modified files in a pull request | no | true |
Outputs
no outputs