Return array of results from the collector #19548
Annotations
12 errors and 5 warnings
Check code style
Process completed with exit code 1.
|
Check code style:
src/dashboard/domain/score-results/score-result.php#L38
Expected type hint "array"; found "Current_Scores_List" for $current_scores_list
|
Check code style:
admin/tracking/class-tracking.php#L86
@param annotation of method \WPSEO_Tracking::schedule_tracking_data_sending() does not specify type hint for items of its traversable parameter $data.
|
Check code style:
src/helpers/user-helper.php#L17
Usage of "mixed" type hint is disallowed.
|
Check code style:
src/helpers/user-helper.php#L27
@param annotation of method \Yoast\WP\SEO\Helpers\User_Helper::count_posts() does not specify type hint for items of its traversable parameter $post_type.
|
Check code style:
src/helpers/user-helper.php#L92
Usage of "mixed" type hint is disallowed.
|
Check code style:
src/helpers/user-helper.php#L93
Usage of "mixed" type hint is disallowed.
|
Check code style:
src/helpers/user-helper.php#L114
Usage of "mixed" type hint is disallowed.
|
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#L147
@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#L161
@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 1.
|
Check code style:
wp-seo-main.php#L183
Use of a direct database call is discouraged.
|
Check code style:
wp-seo-main.php#L183
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
Check code style:
wp-seo-main.php#L583
Processing form data without nonce verification.
|
Check code style:
inc/options/class-wpseo-option-wpseo.php#L627
Unused function parameter $current_version.
|
Check code style:
inc/options/class-wpseo-option-wpseo.php#L627
Unused function parameter $all_old_option_values.
|