pinpoint-unsworth94/PHPCBF/PHPCS M2 Github Action
Runs PHPCBF/PHPCS against M2 code
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| arguments | Arguments to add to PHPCBF CLI | yes | — |
| php_version | PHP version to use when installing Magento. | no | 7.2 |
| org_namespace | org module namespace app/code/{org_namepace}/ | yes | — |
| full_scan | If set to true, phpcbf and phpcs will be ran against all PHP files in the PR. If false, this will only run against Org namepsace in app/code | no | false |
| magento_composer_username | composer username for magento | yes | — |
| magento_composer_password | composer password for magento | yes | — |
| fe_scss_changed_files | Changed SCSS files | no | — |
| fe_js_changed_files | Changed JS files | no | — |
Outputs
| name | description |
|---|---|
| phpcbf_output | Table of changes |
| phpcbf_fixed_anything | Flag of any changes made or not |
| phpcs_output | Table of Changes |
| phpcs_has_errors | flag of any errors from phpcs |
| phpcs_has_warnings | flag of any warnings from phpcs |
| files_checked | files phpcbf and phpcs have been ran against |
| gulpstyles_output | Output of gulp styles command |