Skip to content

Tweak - Catch mail send error #1704

Tweak - Catch mail send error

Tweak - Catch mail send error #1704

Triggered via pull request September 5, 2024 06:52
Status Failure
Total duration 1m 0s
Artifacts

pr-code-sniff.yml

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

Annotations

11 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/admin/class-evf-admin-notices.php#L250
If control structure block found as the only statement within an "else" block. Use elseif instead.
Code sniff (PHP 7.4 , WP Latest): includes/admin/class-evf-admin-notices.php#L265
If control structure block found as the only statement within an "else" block. Use elseif instead.
Code sniff (PHP 7.4 , WP Latest): includes/admin/class-evf-admin-notices.php#L306
Function closing brace must go on the next line following the body; found 1 blank lines before brace
Code sniff (PHP 7.4 , WP Latest): includes/admin/views/html-notice-email-failed-notice.php#L20
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.
Code sniff (PHP 7.4 , WP Latest): includes/admin/views/html-notice-email-failed-notice.php#L20
The $text text string should have translatable content. Found: '%s'
Code sniff (PHP 7.4 , WP Latest): includes/class-evf-ajax.php#L959
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#L1191
The $text parameter must be a single text string literal. Found: $form_name
Code sniff (PHP 7.4 , WP Latest): includes/evf-core-functions.php#L1146
Space after opening control structure is required
Code sniff (PHP 7.4 , WP Latest): includes/evf-core-functions.php#L1146
No space before opening parenthesis is prohibited
Code sniff (PHP 7.4 , WP Latest): includes/evf-core-functions.php#L1146
Expected 1 space(s) after IF keyword; 0 found
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 use a deprecated Node.js version 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/