← All changes
|
src/actions/importing/aioseo/aioseo-general-settings-importing-action.php
+5
-6
18.4
→
trunk
View file →
| @@ -2,19 +2,18 @@ | ||
| 2 | 2 | |
| 3 | 3 | // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Given it's a very specific case. |
| 4 | 4 | namespace Yoast\WP\SEO\Actions\Importing\Aioseo; |
| 5 | 5 | |
| 6 | +use Yoast\WP\SEO\Helpers\Image_Helper; | |
| 6 | 7 | use Yoast\WP\SEO\Helpers\Import_Cursor_Helper; |
| 7 | 8 | use Yoast\WP\SEO\Helpers\Options_Helper; |
| 8 | 9 | use Yoast\WP\SEO\Helpers\Sanitization_Helper; |
| 9 | -use Yoast\WP\SEO\Helpers\Image_Helper; | |
| 10 | 10 | use Yoast\WP\SEO\Services\Importing\Aioseo\Aioseo_Replacevar_Service; |
| 11 | 11 | use Yoast\WP\SEO\Services\Importing\Aioseo\Aioseo_Robots_Provider_Service; |
| 12 | 12 | use Yoast\WP\SEO\Services\Importing\Aioseo\Aioseo_Robots_Transformer_Service; |
| 13 | + | |
| 13 | 14 | /** |
| 14 | 15 | * Importing action for AIOSEO general settings. |
| 15 | - * | |
| 16 | - * @phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded | |
| 17 | 16 | */ |
| 18 | 17 | class Aioseo_General_Settings_Importing_Action extends Abstract_Aioseo_Settings_Importing_Action { |
| 19 | 18 | |
| 20 | 19 | /** |
| @@ -19,19 +18,19 @@ | ||
| 19 | 18 | |
| 20 | 19 | /** |
| 21 | 20 | * The plugin of the action. |
| 22 | 21 | */ |
| 23 | - const PLUGIN = 'aioseo'; | |
| 22 | + public const PLUGIN = 'aioseo'; | |
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * The type of the action. |
| 27 | 26 | */ |
| 28 | - const TYPE = 'general_settings'; | |
| 27 | + public const TYPE = 'general_settings'; | |
| 29 | 28 | |
| 30 | 29 | /** |
| 31 | 30 | * The option_name of the AIOSEO option that contains the settings. |
| 32 | 31 | */ |
| 33 | - const SOURCE_OPTION_NAME = 'aioseo_options'; | |
| 32 | + public const SOURCE_OPTION_NAME = 'aioseo_options'; | |
| 34 | 33 | |
| 35 | 34 | /** |
| 36 | 35 | * The map of aioseo_options to yoast settings. |
| 37 | 36 | * |