Skip to content

Update: addon methods added to addon class and new helper method added #1656

Update: addon methods added to addon class and new helper method added

Update: addon methods added to addon class and new helper method added #1656

Triggered via pull request October 4, 2024 04:42
Status Failure
Total duration 23s
Artifacts

wpcs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
WPCS: classes/Addons.php#L41
Function return type is void, but function contains return statement
WPCS: classes/Addons.php#L55
Expected 3 spaces after parameter type; 1 found
WPCS: classes/Addons.php#L61
Expected 1 spaces before closing parenthesis; 2 found
WPCS: classes/Addons.php#L174
Line indented incorrectly; expected at least 1 tabs, found 0
WPCS: classes/Addons.php#L175
Expected 1 space(s) before asterisk; 5 found
WPCS: classes/Addons.php#L176
Expected 1 space(s) before asterisk; 5 found
WPCS: classes/Addons.php#L177
Expected 1 space(s) before asterisk; 5 found
WPCS: classes/Addons.php#L178
Expected 1 space(s) before asterisk; 5 found
WPCS: classes/Addons.php#L179
Expected 1 space(s) before asterisk; 5 found
WPCS: classes/Addons.php#L274
Expected 1 spaces after opening parenthesis; 0 found
WPCS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
WPCS
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
WPCS
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/
WPCS
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/