Feature - Add new templates. #1719
Annotations
11 errors and 2 warnings
Run code sniff
Process completed with exit code 2.
|
Show PHPCS results in PR:
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.
|
Show PHPCS results in PR:
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.
|
Show PHPCS results in PR:
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
|
Show PHPCS results in PR:
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.
|
Show PHPCS results in PR:
includes/RestApi/controllers/version1/class-evf-templates.php#L101
Assignments must be the first block of code on a line
|
Show PHPCS results in PR:
includes/RestApi/controllers/version1/class-evf-templates.php#L149
Object property "$imageUrl" is not in valid snake_case format, try "$image_url"
|
Show PHPCS results in PR:
includes/RestApi/controllers/version1/class-evf-templates.php#L156
Object property "$imageUrl" is not in valid snake_case format, try "$image_url"
|
Show PHPCS results in PR:
includes/admin/class-evf-admin-form-templates.php#L50
Empty CATCH statement detected
|
Show PHPCS results in PR:
includes/admin/class-evf-admin-form-templates.php#L50
Empty CATCH statement must have a comment to explain why the exception is not handled
|
Show PHPCS results in PR:
includes/admin/class-evf-admin-form-templates.php#L100
The closing brace for the class must go on the next line after the body
|
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/
|
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/
|
Loading