Skip to content

561 create site kit permanent dismissal route #20096

561 create site kit permanent dismissal route

561 create site kit permanent dismissal route #20096

Triggered via pull request January 29, 2025 09:27
Status Failure
Total duration 1m 6s
Artifacts

cs.yml

on: pull_request
Lint GH Action workflows  /  Actionlint
5s
Lint GH Action workflows / Actionlint
Check code style
54s
Check code style
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
Check code style
Process completed with exit code 2.
Check code style: tests/WP/Dashboard/Application/Endpoints/Endpoints_Repository_Test.php#L8
Use statements should be sorted alphabetically. The first wrong one is Yoast\WP\SEO\Dashboard\Infrastructure\Endpoints\SEO_Scores_Endpoint.
Check code style: tests/WP/Dashboard/Application/Endpoints/Endpoints_Repository_Test.php#L47
Array double arrow not aligned correctly; expected 13 space(s) between "'readabilityScores'" and double arrow, but found 1.
Check code style: tests/WP/Dashboard/Application/Endpoints/Endpoints_Repository_Test.php#L48
Array double arrow not aligned correctly; expected 21 space(s) between "'seoScores'" and double arrow, but found 9.
Check code style: tests/Unit/Dashboard/User_Interface/Configuration/Register_Routes_Test.php#L6
Type Brain\Monkey\Functions is not used in this file.
Check code style: tests/Unit/Dashboard/User_Interface/Configuration/Register_Routes_Test.php#L6
Use import statements for functions are not allowed. Found import statement for: "Brain\Monkey\Functions"
Check code style: tests/Unit/Dashboard/User_Interface/Configuration/Check_Capabilities_Test.php#L6
Type Brain\Monkey\Functions is not used in this file.
Check code style: tests/Unit/Dashboard/User_Interface/Configuration/Check_Capabilities_Test.php#L6
Use import statements for functions are not allowed. Found import statement for: "Brain\Monkey\Functions"
Check code style: inc/options/class-wpseo-option-wpseo.php#L25
@var annotation of property \WPSEO_Option_Wpseo::$defaults does not specify type hint for its items.
Check code style: inc/options/class-wpseo-option-wpseo.php#L148
@var annotation of property \WPSEO_Option_Wpseo::$ms_exclude does not specify type hint for its items.
Check code style: inc/options/class-wpseo-option-wpseo.php#L162
@var annotation of property \WPSEO_Option_Wpseo::$site_types does not specify type hint for its items.
Check code style
Process completed with exit code 2.
Check code style: inc/options/class-wpseo-option-wpseo.php#L629
Unused function parameter $current_version.
Check code style: inc/options/class-wpseo-option-wpseo.php#L629
Unused function parameter $all_old_option_values.