Skip to content

Tweak - Hidden field editable compatibility #1690

Tweak - Hidden field editable compatibility

Tweak - Hidden field editable compatibility #1690

Triggered via pull request September 2, 2024 04:33
Status Failure
Total duration 36s
Artifacts

pr-code-sniff.yml

on: pull_request
Code sniff (PHP 7.4 , WP Latest)
26s
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/evf-core-functions.php#L977
Only variables can be passed to empty() prior to PHP 5.5.
Code sniff (PHP 7.4 , WP Latest): includes/evf-core-functions.php#L990
Space after opening control structure is required
Code sniff (PHP 7.4 , WP Latest): includes/evf-core-functions.php#L990
No space before opening parenthesis is prohibited
Code sniff (PHP 7.4 , WP Latest): includes/evf-core-functions.php#L990
Expected 1 space(s) after IF keyword; 0 found
Code sniff (PHP 7.4 , WP Latest): includes/evf-core-functions.php#L990
Expected 1 space(s) after closing parenthesis; found 0
Code sniff (PHP 7.4 , WP Latest): includes/evf-core-functions.php#L990
Space between opening control structure and closing parenthesis is required
Code sniff (PHP 7.4 , WP Latest): includes/evf-core-functions.php#L991
String "evf-field-hidden" does not require double quotes; use single quotes instead
Code sniff (PHP 7.4 , WP Latest): includes/evf-core-functions.php#L991
String "" does not require double quotes; use single quotes instead
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)
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/