Skip to content

561 create site kit permanent dismissal route #20094

561 create site kit permanent dismissal route

561 create site kit permanent dismissal route #20094

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

cs.yml

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

Annotations

12 errors and 10 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/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: inc/options/class-wpseo-option-wpseo.php#L177
@var annotation of property \WPSEO_Option_Wpseo::$environment_types does not specify type hint for its items.
Check code style: inc/options/class-wpseo-option-wpseo.php#L190
@var annotation of property \WPSEO_Option_Wpseo::$has_multiple_authors_options does not specify type hint for its items.
Check code style
Process completed with exit code 2.
Check code style: tests/Unit/Dashboard/Infrastructure/Configuration/Permanently_Dismissed_Site_Kit_Configuration_Repository_Fake.php#L3
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Tests\Unit\Dashboard\Infrastructure\Configuration
Check code style: tests/Unit/Dashboard/Infrastructure/Configuration/Constructor_Test.php#L3
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Tests\Unit\Dashboard\Infrastructure\Configuration
Check code style: src/dashboard/infrastructure/configuration/permanently-dismissed-site-kit-configuration-repository.php#L2
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Dashboard\Infrastructure\Configuration
Check code style: tests/Unit/Dashboard/Infrastructure/Configuration/Set_Site_Kit_Configuration_Dismissal_Test.php#L3
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Tests\Unit\Dashboard\Infrastructure\Configuration
Check code style: tests/Unit/Dashboard/User_Interface/Configuration/Register_Routes_Test.php#L3
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Tests\Unit\Dashboard\User_Interface\Configuration
Check code style: tests/Unit/Dashboard/Infrastructure/Configuration/Is_Site_Kit_Configuration_Dismissed_Test.php#L3
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Tests\Unit\Dashboard\Infrastructure\Configuration
Check code style: tests/Unit/Dashboard/User_Interface/Configuration/Constructor_Test.php#L3
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Tests\Unit\Dashboard\User_Interface\Configuration
Check code style: tests/Unit/Dashboard/User_Interface/Configuration/Abstract_Site_Kit_Configuration_Permanent_Dismissal_Route_Test.php#L3
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Tests\Unit\Dashboard\User_Interface\Configuration
Check code style: tests/Unit/Dashboard/User_Interface/Configuration/Set_Site_Kit_Permanent_Dismissal_Test.php#L3
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Tests\Unit\Dashboard\User_Interface\Configuration
Check code style: tests/Unit/Dashboard/User_Interface/Configuration/Get_Conditionals_Test.php#L3
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Tests\Unit\Dashboard\User_Interface\Configuration