Skip to content

Refactor to externalize the link etc. creation #455

Refactor to externalize the link etc. creation

Refactor to externalize the link etc. creation #455

Triggered via push June 8, 2024 20:13
Status Failure
Total duration 23s
Artifacts

cs.yml

on: push
Check code style
15s
Check code style
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Check code style
Process completed with exit code 2.
Check code style: duplicate-post.php#L96
@param annotation of function duplicate_post_plugin_actions() does not specify type hint for items of its traversable parameter $actions.
Check code style: duplicate-post.php#L97
@return annotation of function duplicate_post_plugin_actions() does not specify type hint for items of its traversable return value.
Check code style: src/ui/metabox.php#L65
Array double arrow not aligned correctly; expected 15 space(s) between "'original'" and double arrow, but found 1.
Check code style: src/ui/metabox.php#L81
Method \Yoast\WP\Duplicate_Post\UI\Metabox::custom_metabox_html() does not have parameter type hint nor @param annotation for its parameter $metabox.
Check code style: src/ui/block-editor.php#L167
No space found after comma in argument list
Check code style: src/ui/block-editor.php#L167
Expected 1 spaces before closing parenthesis; 2 found
Check code style: src/ui/block-editor.php#L177
@param annotation of method \Yoast\WP\Duplicate_Post\UI\Block_Editor::remove_original_from_wpseo_link_suggestions() does not specify type hint for items of its traversable parameter $suggestions.
Check code style: src/ui/block-editor.php#L181
@return annotation of method \Yoast\WP\Duplicate_Post\UI\Block_Editor::remove_original_from_wpseo_link_suggestions() does not specify type hint for items of its traversable return value.
Check code style: src/utils.php#L34
Usage of "mixed" type hint is disallowed.
Check code style: src/utils.php#L36
Usage of "mixed" type hint is disallowed.
Check code style
Process completed with exit code 2.