Skip to content

enhance: header for form builder UI redesign #651

enhance: header for form builder UI redesign

enhance: header for form builder UI redesign #651

Triggered via pull request October 22, 2024 05:37
Status Failure
Total duration 20s
Artifacts

phpcs.yml

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

Annotations

10 errors and 17 warnings
Run PHPCS inspection: admin/form-builder/views/form-builder.php#L83
Missing $domain parameter in function call to esc_html_e().
Run PHPCS inspection: admin/form-builder/views/form-builder.php#L83
The $text parameter must be a single text string literal. Found: __( 'Click to copy shortcode', 'wp-user-frontend' )
Run PHPCS inspection: admin/form-builder/views/form-builder.php#L83
Missing $domain parameter in function call to esc_attr_e().
Run PHPCS inspection: admin/form-builder/views/form-builder.php#L83
The $text parameter must be a single text string literal. Found: $shortcodes[0]['name']
Run PHPCS inspection: includes/Admin/Forms/Admin_Form_Builder.php#L42
Overriding WordPress globals is prohibited. Found assignment to $post
Run PHPCS inspection: includes/Admin/Forms/Admin_Form_Builder.php#L317
Opening parenthesis of a multi-line function call must be the last content on the line
Run PHPCS inspection: includes/Admin/Forms/Admin_Form_Builder.php#L318
Array item not aligned correctly; expected 12 spaces but found 53
Run PHPCS inspection: includes/Admin/Forms/Admin_Form_Builder.php#L319
Array item not aligned correctly; expected 12 spaces but found 53
Run PHPCS inspection: includes/Admin/Forms/Admin_Form_Builder.php#L320
Array item not aligned correctly; expected 12 spaces but found 53
Run PHPCS inspection: includes/Admin/Forms/Admin_Form_Builder.php#L321
Array item not aligned correctly; expected 12 spaces but found 53
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: admin/form-builder/views/form-builder-old.php#L12
Words in hook names should be separated using underscores. Expected: "wpuf_form_builder_tabs_{$form_type}", but found: "wpuf-form-builder-tabs-{$form_type}".
Run PHPCS inspection: admin/form-builder/views/form-builder-old.php#L42
Processing form data without nonce verification.
Run PHPCS inspection: admin/form-builder/views/form-builder-old.php#L42
Processing form data without nonce verification.
Run PHPCS inspection: admin/form-builder/views/form-builder-old.php#L59
Processing form data without nonce verification.
Run PHPCS inspection: admin/form-builder/views/form-builder-old.php#L100
Words in hook names should be separated using underscores. Expected: "wpuf_form_builder_settings_tabs_{$form_type}", but found: "wpuf-form-builder-settings-tabs-{$form_type}".
Run PHPCS inspection: admin/form-builder/views/form-builder-old.php#L104
Words in hook names should be separated using underscores. Expected: "wpuf_form_builder_settings_tab_contents_{$form_type}", but found: "wpuf-form-builder-settings-tab-contents-{$form_type}".
Run PHPCS inspection: admin/form-builder/views/form-builder-old.php#L109
Words in hook names should be separated using underscores. Expected: "wpuf_form_builder_tab_contents_{$form_type}", but found: "wpuf-form-builder-tab-contents-{$form_type}".
Run PHPCS inspection: admin/form-builder/views/form-builder.php#L69
Words in hook names should be separated using underscores. Expected: "wpuf_form_builder_tabs_{$form_type}", but found: "wpuf-form-builder-tabs-{$form_type}".
Run PHPCS inspection: admin/form-builder/views/form-builder.php#L74
Processing form data without nonce verification.
Run PHPCS inspection: admin/form-builder/views/form-builder.php#L74
Processing form data without nonce verification.