Skip to content

Feature - Add new templates. #1719

Feature - Add new templates.

Feature - Add new templates. #1719

Triggered via pull request September 9, 2024 07:36
Status Failure
Total duration 34s
Artifacts

pr-code-sniff.yml

on: pull_request
Code sniff (PHP 7.4 , WP Latest)
21s
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/RestApi/controllers/version1/class-evf-plugin-status.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-everest-forms-plugin-status.php, but found class-evf-plugin-status.php.
Code sniff (PHP 7.4 , WP Latest): includes/RestApi/controllers/version1/class-evf-plugin-status.php#L154
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/RestApi/controllers/version1/class-evf-plugin-status.php#L360
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/RestApi/controllers/version1/class-evf-templates.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-everest-forms-template-section-data.php, but found class-evf-templates.php.
Code sniff (PHP 7.4 , WP Latest): includes/RestApi/controllers/version1/class-evf-templates.php#L101
Assignments must be the first block of code on a line
Code sniff (PHP 7.4 , WP Latest): includes/RestApi/controllers/version1/class-evf-templates.php#L149
Object property "$imageUrl" is not in valid snake_case format, try "$image_url"
Code sniff (PHP 7.4 , WP Latest): includes/RestApi/controllers/version1/class-evf-templates.php#L156
Object property "$imageUrl" is not in valid snake_case format, try "$image_url"
Code sniff (PHP 7.4 , WP Latest): includes/admin/class-evf-admin-form-templates.php#L50
Empty CATCH statement must have a comment to explain why the exception is not handled
Code sniff (PHP 7.4 , WP Latest): includes/admin/class-evf-admin-form-templates.php#L100
The closing brace for the class must go on the next line after the body
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/