Skip to content

fix: integrations not loading properly #644

fix: integrations not loading properly

fix: integrations not loading properly #644

Triggered via pull request October 10, 2024 03:31
Status Failure
Total duration 18s
Artifacts

phpcs.yml

on: pull_request
Run PHPCS inspection
10s
Run PHPCS inspection
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 17 warnings
Run PHPCS inspection: includes/Frontend.php#L203
Not using strict comparison for in_array; supply true for $strict argument.
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
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 `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
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.php#L54
Loose comparisons are not allowed. Expected: "==="; Found: "=="
Run PHPCS inspection: includes/Frontend.php#L55
Processing form data without nonce verification.
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#L186
Loose comparisons are not allowed. Expected: "!=="; Found: "!="
Run PHPCS inspection: includes/Frontend_Render_Form.php#L225
Loose comparisons are not allowed. Expected: "==="; Found: "=="
Run PHPCS inspection: includes/Frontend_Render_Form.php#L227
Found precision alignment of 3 spaces.