Skip to content

TMS-1089: Fix event fetching for events-component #2601

TMS-1089: Fix event fetching for events-component

TMS-1089: Fix event fetching for events-component #2601

Triggered via pull request December 2, 2024 18:21
Status Failure
Total duration 41s
Artifacts

phpcs-check.yml

on: pull_request
phpcs-check
28s
phpcs-check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
phpcs-check: lib/Interfaces/PostType.php#L19
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Emojis.php#L21
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Emojis.php#L40
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Interfaces/Controller.php#L20
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Blocks/NoticeBannerBlock.php#L53
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Blocks/NoticeBannerBlock.php#L79
The closing brace for the class must go on the next line after the body
phpcs-check: lib/Traits/Components.php#L22
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Traits/Components.php#L39
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Blocks/VideoBlock.php#L53
There must not be a space before the colon in a return type declaration
phpcs-check: lib/FormatterController.php#L31
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/autoload.php#L15
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/FormatterController.php#L31
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/DustPressController.php#L60
Line exceeds 120 characters; contains 174 characters
phpcs-check: lib/DustPressController.php#L61
Line exceeds 120 characters; contains 168 characters
phpcs-check: lib/DustPressController.php#L62
Line exceeds 120 characters; contains 172 characters
phpcs-check: lib/PostTypeController.php#L31
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/TaxonomyController.php#L31
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/Formatters/ImageFormatter.php#L37
Function's cyclomatic complexity (16) exceeds 15; consider refactoring the function
phpcs-check: lib/ThemeController.php#L63
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/Constants.php#L27
Function's cyclomatic complexity (16) exceeds 15; consider refactoring the function