Skip to content

Merge branch 'TMS-1067' into stage #418

Merge branch 'TMS-1067' into stage

Merge branch 'TMS-1067' into stage #418

Triggered via push September 16, 2024 09:23
Status Failure
Total duration 28s
Artifacts

phpcs-check.yml

on: push
phpcs-check
18s
phpcs-check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
phpcs-check: lib/ACFController.php#L8
An import use statement should never start with a leading backslash
phpcs-check: lib/ACFController.php#L21
There must not be a space before the colon in a return type declaration
phpcs-check: lib/ThemeSupports.php#L21
There must not be a space before the colon in a return type declaration
phpcs-check: lib/TaxonomyController.php#L23
There must not be a space before the colon in a return type declaration
phpcs-check: lib/TaxonomyController.php#L32
There must not be a space before the colon in a return type declaration
phpcs-check: lib/ACF/AlterCallToActionLayout.php#L40
There must not be a space before the colon in a return type declaration
phpcs-check: lib/ACF/AlterCallToActionLayout.php#L59
There must not be a space before the colon in a return type declaration
phpcs-check: lib/PostTypeController.php#L22
There must not be a space before the colon in a return type declaration
phpcs-check: lib/PostTypeController.php#L31
There must not be a space before the colon in a return type declaration
phpcs-check: lib/FormatterController.php#L22
There must not be a space before the colon in a return type declaration
phpcs-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpcs-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
phpcs-check: lib/FormatterController.php#L63
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/autoload.php#L15
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/ThemeController.php#L33
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/Formatters/HeroFormatter.php#L38
Function's cyclomatic complexity (17) exceeds 15; consider refactoring the function
phpcs-check: lib/Formatters/HeroFormatter.php#L42
This comment is 70% valid code; is this commented out code?