Skip to content

TMS-962: Add Lunch Menus plugin caps to roles. #2508

TMS-962: Add Lunch Menus plugin caps to roles.

TMS-962: Add Lunch Menus plugin caps to roles. #2508

Triggered via pull request September 15, 2023 08:15
@aerkkilaeaerkkilae
synchronize #474
TMS-962
Status Failure
Total duration 47s
Artifacts

phpcs-check.yml

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

Annotations

2 errors and 11 warnings
phpcs-check: lib/Roles.php#L231
Whitespace found at end of line
phpcs-check
Process completed with exit code 1.
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: lib/Formatters/ImageFormatter.php#L37
Function's cyclomatic complexity (16) exceeds 15; consider refactoring the function
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/Formatters/GridFormatter.php#L54
Function's cyclomatic complexity (19) exceeds 15; consider refactoring the function
phpcs-check: lib/ThemeSupports.php#L153
Line exceeds 120 characters; contains 137 characters
phpcs-check: lib/Blocks/QuoteBlock.php#L78
The method parameter $instance is never used
phpcs-check: lib/Blocks/QuoteBlock.php#L78
The method parameter $block is never used
phpcs-check: lib/Blocks/QuoteBlock.php#L78
The method parameter $content is never used
phpcs-check: lib/Blocks/QuoteBlock.php#L78
The method parameter $is_preview is never used