Skip to content

gw-capitilize-submitted-data.php: Added support to capitalize list fields. #1110

gw-capitilize-submitted-data.php: Added support to capitalize list fields.

gw-capitilize-submitted-data.php: Added support to capitalize list fields. #1110

Triggered via pull request October 29, 2024 09:44
Status Failure
Total duration 1m 17s
Artifacts

php-lint-pr.yml

on: pull_request
PHPCS (Files Changed)
1m 7s
PHPCS (Files Changed)
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
PHPCS (Files Changed): gp-inventory/gpi-dynamic-scopes-for-combo-inventories.php#L45
Expected 1 space after closing brace; newline found
PHPCS (Files Changed): gp-inventory/gpi-dynamic-scopes-for-combo-inventories.php#L56
Expected 1 space(s) after FOREACH keyword; 0 found
PHPCS (Files Changed): gp-inventory/gpi-dynamic-scopes-for-combo-inventories.php#L56
Space after opening control structure is required
PHPCS (Files Changed): gp-inventory/gpi-dynamic-scopes-for-combo-inventories.php#L56
No space before opening parenthesis is prohibited
PHPCS (Files Changed)
Error: Command failed: ./vendor/bin/phpcs --report=checkstyle --standard=phpcs.xml gp-inventory/gpi-dynamic-scopes-for-combo-inventories.php
PHPCS (Files Changed)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, thenabeel/action-phpcs@v8. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPCS (Files Changed)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, nanasess/setup-php@v3, thenabeel/action-phpcs@v8. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPCS (Files Changed): gp-inventory/gpi-dynamic-scopes-for-combo-inventories.php#L50
Usage of ELSE IF is discouraged; use ELSEIF instead