Skip to content

enhance: support for additional CPT's #647

enhance: support for additional CPT's

enhance: support for additional CPT's #647

Triggered via pull request October 15, 2024 09:41
Status Failure
Total duration 2m 41s
Artifacts

phpcs.yml

on: pull_request
Run PHPCS inspection
2m 30s
Run PHPCS inspection
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 15 warnings
Run PHPCS inspection: includes/Admin/Forms/Form.php#L210
Opening parenthesis of a multi-line function call must be the last content on the line
Run PHPCS inspection: includes/Admin/Forms/Form.php#L210
Opening parenthesis of a multi-line function call must be the last content on the line
Run PHPCS inspection: includes/Admin/Forms/Form.php#L211
Multi-line function call not indented correctly; expected 20 spaces but found 69
Run PHPCS inspection: includes/Admin/Forms/Form.php#L211
Multi-line function call not indented correctly; expected 20 spaces but found 69
Run PHPCS inspection: includes/Admin/Forms/Form.php#L211
Closing parenthesis of a multi-line function call must be on a line by itself
Run PHPCS inspection: includes/Admin/Forms/Form.php#L211
Closing parenthesis of a multi-line function call must be on a line by itself
Run PHPCS inspection: includes/Admin/Forms/Form.php#L226
If control structure block found as the only statement within an "else" block. Use elseif instead.
Run PHPCS inspection: includes/Admin/Forms/Form.php#L235
If control structure block found as the only statement within an "else" block. Use elseif instead.
Run PHPCS inspection: includes/Admin/Forms/Form.php#L264
If control structure block found as the only statement within an "else" block. Use elseif instead.
Run PHPCS inspection: includes/User_Subscription.php#L59
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
Run PHPCS inspection
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pat-s/always-upload-cache@v1.1.4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run PHPCS inspection
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, pat-s/always-upload-cache@v1.1.4. 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 inspection
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/
Run PHPCS inspection
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/
Run PHPCS inspection
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/
Run PHPCS inspection: includes/Admin/Forms/Form.php#L197
Equals sign not aligned correctly; expected 1 space but found 6 spaces
Run PHPCS inspection: includes/Admin/Forms/Form.php#L198
This comment is 67% valid code; is this commented out code?
Run PHPCS inspection: includes/Admin/Forms/Form.php#L201
This comment is 70% valid code; is this commented out code?
Run PHPCS inspection: includes/Admin/Forms/Form.php#L206
This comment is 62% valid code; is this commented out code?
Run PHPCS inspection: includes/Admin/Forms/Form.php#L211
Found precision alignment of 1 spaces.
Run PHPCS inspection: includes/Admin/Forms/Form.php#L213
Equals sign not aligned correctly; expected 1 space but found 10 spaces
Run PHPCS inspection: includes/Admin/Forms/Form.php#L216
This comment is 50% valid code; is this commented out code?
Run PHPCS inspection: includes/Admin/Forms/Form.php#L223
This comment is 50% valid code; is this commented out code?
Run PHPCS inspection: includes/Admin/Forms/Form.php#L249
This comment is 50% valid code; is this commented out code?
Run PHPCS inspection: includes/Admin/Forms/Form.php#L370
This comment is 63% valid code; is this commented out code?