561 create site kit permanent dismissal route #20096
cs.yml
on: pull_request
Lint GH Action workflows
/
Actionlint
5s
Check code style
54s
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.
|