Update to WPCS 3, and add remove URL from comment functionality #8
Annotations
8 errors and 1 warning
Static Analysis:
admin/views/config-page.php#L293
Parameter #1 $post of function get_permalink expects int|WP_Post, string given.
|
Static Analysis:
inc/forms.php#L39
Parameter #1 $post of function get_permalink expects int|WP_Post, string given.
|
Static Analysis:
inc/hacks.php#L154
Parameter #1 $text of function esc_attr expects string, int given.
|
Static Analysis:
inc/hacks.php#L226
Parameter #1 $post of function get_permalink expects int|WP_Post, string given.
|
Static Analysis:
inc/hacks.php#L252
Method EmiliaProjects\WP\Comment\Inc\Hacks::get_option_from_cache() never returns int so it can be removed from the return type.
|
Static Analysis
Ignored error pattern #Method [a-zA-Z0-9\\_\:\(\)]+ return type has no value type specified in iterable type array.# was not matched in reported errors.
|
Static Analysis
Ignored error pattern #Method [a-zA-Z0-9\\_\:\(\)]+ has parameter \$[a-zA-Z0-9\\_]+ with no value type specified in iterable type array.# was not matched in reported errors.
|
Static Analysis
Process completed with exit code 1.
|
Static Analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|