Skip to content

Use get_sites()

Use get_sites() #141

Triggered via push November 2, 2023 22:26
Status Success
Total duration 32s
Artifacts

cs.yml

on: push
PHPCS check
20s
PHPCS check
Fit to window
Zoom out
Zoom in

Annotations

1 error and 14 warnings
PHPCS check
Process completed with exit code 2.
PHPCS check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. 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 `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHPCS check
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHPCS check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHPCS check: includes/template-redirect.php#L86
Loose comparisons are not allowed. Expected: "!=="; Found: "!="
PHPCS check: includes/utilities.php#L100
It is recommended not to use reserved keyword "string" as function parameter name. Found: $string
PHPCS check: includes/utilities.php#L304
It is recommended not to use reserved keyword "array" as function parameter name. Found: $array
PHPCS check: includes/deprecated.php#L306
The method parameter $search_query is never used
PHPCS check: includes/deprecated.php#L306
The method parameter $numrows is never used
PHPCS check: includes/deprecated.php#L306
The method parameter $limit is never used
PHPCS check: includes/admin/register-settings.php#L32
It is recommended not to use reserved keyword "default" as function parameter name. Found: $default
PHPCS check: includes/wp-filters.php#L31
Loose comparisons are not allowed. Expected: "!=="; Found: "!="
PHPCS check: includes/activation.php#L75
Attempting a database schema change is discouraged.
PHPCS check: includes/activation.php#L93
Attempting a database schema change is discouraged.