Skip to content

fix: post description image for block theme #650

fix: post description image for block theme

fix: post description image for block theme #650

Triggered via pull request October 22, 2024 04:13
Status Failure
Total duration 2m 39s
Artifacts

phpcs.yml

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

Annotations

10 errors and 15 warnings
Run PHPCS inspection: includes/Frontend_Render_Form.php#L42
Doc comment short description must start with a capital letter
Run PHPCS inspection: includes/Frontend_Render_Form.php#L48
Opening brace must be the last content on the line
Run PHPCS inspection: includes/Frontend_Render_Form.php#L87
Doc comment short description must start with a capital letter
Run PHPCS inspection: includes/Frontend_Render_Form.php#L131
Stylesheets must be registered/enqueued via wp_enqueue_style()
Run PHPCS inspection: includes/Frontend_Render_Form.php#L152
Scripts must be registered/enqueued via wp_enqueue_script()
Run PHPCS inspection: includes/Frontend_Render_Form.php#L170
Doc comment short description must start with a capital letter
Run PHPCS inspection: includes/Frontend_Render_Form.php#L304
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
Run PHPCS inspection: includes/Frontend_Render_Form.php#L304
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: includes/Frontend_Render_Form.php#L304
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$d", but got "%s, %d" in 'Mark the %s as featured (remaining %d)'.
Run PHPCS inspection: includes/Frontend_Render_Form.php#L326
Doc comment short description must start with a capital letter
Run PHPCS inspection
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pat-s/[email protected]. 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/[email protected]. 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/Frontend_Render_Form.php#L8
Property name "$_instance" should not be prefixed with an underscore to indicate visibility
Run PHPCS inspection: includes/Frontend_Render_Form.php#L30
json_encode() is discouraged. Use wp_json_encode() instead.
Run PHPCS inspection: includes/Frontend_Render_Form.php#L78
Loose comparisons are not allowed. Expected: "==="; Found: "=="
Run PHPCS inspection: includes/Frontend_Render_Form.php#L121
Processing form data without nonce verification.
Run PHPCS inspection: includes/Frontend_Render_Form.php#L121
Processing form data without nonce verification.
Run PHPCS inspection: includes/Frontend_Render_Form.php#L253
Loose comparisons are not allowed. Expected: "==="; Found: "=="
Run PHPCS inspection: includes/Frontend_Render_Form.php#L253
Loose comparisons are not allowed. Expected: "==="; Found: "=="
Run PHPCS inspection: includes/Frontend_Render_Form.php#L303
Found precision alignment of 1 spaces.
Run PHPCS inspection: includes/Frontend_Render_Form.php#L304
Found precision alignment of 1 spaces.
Run PHPCS inspection: includes/Frontend_Render_Form.php#L338
Loose comparisons are not allowed. Expected: "==="; Found: "=="