Skip to content

enhance: form builder field Cloudflare Turnstile #656

enhance: form builder field Cloudflare Turnstile

enhance: form builder field Cloudflare Turnstile #656

Triggered via pull request October 31, 2024 04:37
Status Failure
Total duration 2m 32s
Artifacts

phpcs.yml

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

Annotations

10 errors and 15 warnings
Run PHPCS inspection: includes/Admin/Forms/Field_Manager.php#L218
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
Run PHPCS inspection: includes/Admin/Forms/Field_Manager.php#L224
Assignments must be the first block of code on a line
Run PHPCS inspection: templates/login-form.php#L13
Expected 1 space after "!"; 0 found
Run PHPCS inspection: templates/login-form.php#L42
Opening PHP tag must be on a line by itself
Run PHPCS inspection: templates/login-form.php#L42
Opening parenthesis of a multi-line function call must be the last content on the line
Run PHPCS inspection: templates/login-form.php#L42
No space found after comma in argument list
Run PHPCS inspection: templates/login-form.php#L43
Array item not aligned correctly; expected 4 spaces but found 24
Run PHPCS inspection: templates/login-form.php#L44
Multi-line array item not aligned correctly; expected 8 spaces, but found 28
Run PHPCS inspection: templates/login-form.php#L48
Array item not aligned correctly; expected 4 spaces but found 24
Run PHPCS inspection: templates/login-form.php#L49
Multi-line array item not aligned correctly; expected 8 spaces, but found 28
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/Field_Manager.php#L134
This comment is 59% valid code; is this commented out code?
Run PHPCS inspection: includes/Admin/Forms/Field_Manager.php#L224
Variable assignment found within a condition. Did you mean to do a comparison ?
Run PHPCS inspection: includes/Admin/Forms/Field_Manager.php#L253
Loose comparisons are not allowed. Expected: "==="; Found: "=="
Run PHPCS inspection: includes/Admin/Forms/Field_Manager.php#L256
Loose comparisons are not allowed. Expected: "==="; Found: "=="
Run PHPCS inspection: includes/Admin/Forms/Field_Manager.php#L260
Loose comparisons are not allowed. Expected: "==="; Found: "=="
Run PHPCS inspection: includes/Admin/Forms/Field_Manager.php#L273
Loose comparisons are not allowed. Expected: "==="; Found: "=="
Run PHPCS inspection: includes/Admin/Forms/Field_Manager.php#L277
Usage of ELSE IF is discouraged; use ELSEIF instead
Run PHPCS inspection: includes/Admin/Forms/Field_Manager.php#L279
Loose comparisons are not allowed. Expected: "==="; Found: "=="
Run PHPCS inspection: templates/login-form.php#L3
Found precision alignment of 2 spaces.
Run PHPCS inspection: templates/login-form.php#L4
Found precision alignment of 2 spaces.