Skip to content

TMS-1088: Change program dates to be queryable by redipress #482

TMS-1088: Change program dates to be queryable by redipress

TMS-1088: Change program dates to be queryable by redipress #482

Triggered via pull request November 19, 2024 09:13
Status Failure
Total duration 45s
Artifacts

phpcs-check.yml

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

Annotations

10 errors and 13 warnings
phpcs-check: lib/Interfaces/Formatter.php#L20
There must not be a space before the colon in a return type declaration
phpcs-check: lib/PostType/Attachment.php#L8
An import use statement should never start with a leading backslash
phpcs-check: lib/PostType/Attachment.php#L27
There must not be a space before the colon in a return type declaration
phpcs-check: lib/PostType/TablePress.php#L8
An import use statement should never start with a leading backslash
phpcs-check: lib/PostType/TablePress.php#L27
There must not be a space before the colon in a return type declaration
phpcs-check: models/shared/program-favorites.php#L50
String "d.m.Y" does not require double quotes; use single quotes instead
phpcs-check: lib/CronJobs.php#L22
There must not be a space before the colon in a return type declaration
phpcs-check: lib/CronJobs.php#L36
There must not be a space before the colon in a return type declaration
phpcs-check: lib/CronJobs.php#L52
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
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: models/page-front-page.php#L25
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
phpcs-check: models/shared/program-favorites.php#L44
Equals sign not aligned with surrounding assignments; expected 1 space but found 18 spaces
phpcs-check: models/shared/program-favorites.php#L45
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 19 spaces
phpcs-check: lib/autoload.php#L15
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/ACF/PageHeroGroup.php#L83
Line exceeds 120 characters; contains 129 characters
phpcs-check: lib/FormatterController.php#L31
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/PostType/Program.php#L200
Equals sign not aligned correctly; expected 1 space but found 45 spaces
phpcs-check: lib/PostType/Program.php#L200
Line exceeds 120 characters; contains 144 characters
phpcs-check: lib/PostType/Program.php#L202
Line exceeds 120 characters; contains 146 characters
phpcs-check: lib/Formatters/GridFormatter.php#L54
Function's cyclomatic complexity (18) exceeds 15; consider refactoring the function