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