Skip to content

Merge branch 'TMS-1092' into stage #423

Merge branch 'TMS-1092' into stage

Merge branch 'TMS-1092' into stage #423

Triggered via push December 18, 2024 11:16
Status Failure
Total duration 24s
Artifacts

phpcs-check.yml

on: push
phpcs-check
14s
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/ThemeController.php#L18
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/autoload.php#L42
Expected 1 blank line at end of file; 2 found
phpcs-check: lib/Assets.php#L20
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Assets.php#L46
There must not be a space before the colon in a return type declaration
phpcs-check: lib/ACF/Field/AccentColorField.php#L23
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
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
phpcs-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpcs-check: lib/ThemeController.php#L33
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/FormatterController.php#L63
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?