Skip to content

TMS-1075-fix: Early return added to ImageGalleryFormatter #2593

TMS-1075-fix: Early return added to ImageGalleryFormatter

TMS-1075-fix: Early return added to ImageGalleryFormatter #2593

Triggered via pull request October 28, 2024 07:34
Status Failure
Total duration 31s
Artifacts

phpcs-check.yml

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

Annotations

10 errors and 13 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/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/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/Blocks/VideoBlock.php#L53
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Blocks/AnchorLinksBlock.php#L53
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
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/autoload.php#L15
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/FormatterController.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/Constants.php#L27
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