Skip to content

Dev- Square Payment Gateway #1625

Dev- Square Payment Gateway

Dev- Square Payment Gateway #1625

Triggered via pull request July 24, 2024 04:35
Status Failure
Total duration 26s
Artifacts

pr-code-sniff.yml

on: pull_request
Code sniff (PHP 7.4 , WP Latest)
17s
Code sniff (PHP 7.4 , WP Latest)
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
Code sniff (PHP 7.4 , WP Latest)
Process completed with exit code 2.
Code sniff (PHP 7.4 , WP Latest): includes/class-evf-ajax.php#L534
Detected usage of a possibly undefined superglobal array index: $_POST['is_feature']. Use isset() or empty() to check the index exists before using it
Code sniff (PHP 7.4 , WP Latest): includes/class-evf-ajax.php#L566
If control structure block found as the only statement within an "else" block. Use elseif instead.
Code sniff (PHP 7.4 , WP Latest): includes/class-evf-ajax.php#L568
Detected usage of a possibly undefined superglobal array index: $_POST['name']. Use isset() or empty() to check the index exists before using it
Code sniff (PHP 7.4 , WP Latest): includes/class-evf-ajax.php#L958
The $text parameter must be a single text string literal. Found: 'Let\'s see how your forms performed ' . $evf_summary_duration . '.'
Code sniff (PHP 7.4 , WP Latest): includes/class-evf-ajax.php#L1190
The $text parameter must be a single text string literal. Found: $form_name
Code sniff (PHP 7.4 , WP Latest)
Process completed with exit code 1.
Code sniff (PHP 7.4 , WP Latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Code sniff (PHP 7.4 , WP Latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/