Skip to content

fix: integrations not loading properly #643

fix: integrations not loading properly

fix: integrations not loading properly #643

Triggered via pull request October 8, 2024 11:26
Status Failure
Total duration 32s
Artifacts

phpcs.yml

on: pull_request
Run PHPCS inspection
23s
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: wpuf.php#L245
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
Run PHPCS inspection: wpuf.php#L300
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Run PHPCS inspection: wpuf.php#L394
A file should either contain function declarations or OO structure declarations, but not both. Found 1 function declaration(s) and 1 OO structure declaration(s). The first function declaration was found on line 394; the first OO declaration was found on line 38
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
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: wpuf.php#L227
This comment is 43% valid code; is this commented out code?
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: "=="