Add progress bar and more replaces. #18200
Annotations
12 errors and 8 warnings
Check code style
Process completed with exit code 2.
|
Check code style:
src/indexables/domain/actions/migration-interface.php#L8
Expected 1 space after interface name; 2 found
|
Check code style:
src/indexables/domain/actions/migration-interface.php#L8
Expected 1 space before opening brace; found 2
|
Check code style:
src/indexables/domain/actions/migration-interface.php#L10
Missing doc comment for function migrate()
|
Check code style:
src/indexables/domain/actions/migration-interface.php#L10
Method \Yoast\WP\SEO\Indexables\Domain\Actions\Migration_Interface::migrate() does not have parameter type hint nor @param annotation for its parameter $old_url.
|
Check code style:
src/indexables/domain/actions/migration-interface.php#L10
Method \Yoast\WP\SEO\Indexables\Domain\Actions\Migration_Interface::migrate() does not have parameter type hint nor @param annotation for its parameter $new_url.
|
Check code style:
src/indexables/domain/actions/migration-interface.php#L12
Missing doc comment for function get_limit()
|
Check code style:
src/indexables/domain/actions/migration-interface.php#L12
Expected 0 spaces between parenthesis of function declaration; 1 found
|
Check code style:
src/indexables/domain/actions/migration-interface.php#L14
Missing doc comment for function get_table()
|
Check code style:
src/helpers/import-cursor-helper.php#L32
Usage of "mixed" type hint is disallowed.
|
Check code style:
src/helpers/import-cursor-helper.php#L46
Expected 9 spaces after parameter name; 8 found
|
Check code style
Process completed with exit code 2.
|
Check code style:
src/indexables/domain/actions/migration-interface.php#L3
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Indexables\Domain\Actions
|
Check code style:
src/indexables/user-interface/command/migrate-command.php#L3
A namespace name should be no more than 2 levels deep (excluding the prefix). Level depth found: 3 in Yoast\WP\SEO\Indexables\User_Interface\Command
|
Check code style:
src/indexables/application/actions/migration/indexable-action.php#L80
Use of a direct database call is discouraged.
|
Check code style:
src/indexables/application/actions/migration/indexable-action.php#L80
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
Check code style:
src/indexables/application/actions/migration/indexable-action.php#L147
Use of a direct database call is discouraged.
|
Check code style:
src/indexables/application/actions/migration/indexable-action.php#L147
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
Check code style:
inc/options/class-wpseo-option-wpseo.php#L636
Unused function parameter $current_version.
|
Check code style:
inc/options/class-wpseo-option-wpseo.php#L636
Unused function parameter $all_old_option_values.
|