| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * WP-CLI depreceated commands for ElasticPress | |
| 3 | + * WP-CLI deprecated commands for ElasticPress | |
| 4 | 4 | * |
| 5 | 5 | * @since 4.4.0 |
| 6 | 6 | * @package elasticpress |
| 7 | 7 | */ |
| @@ -7,12 +7,14 @@ | ||
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | namespace ElasticPress; |
| 10 | 10 | |
| 11 | -use \WP_CLI as WP_CLI; | |
| 11 | +use WP_CLI; | |
| 12 | 12 | |
| 13 | 13 | if ( ! defined( 'ABSPATH' ) ) { |
| 14 | + // @codeCoverageIgnoreStart | |
| 14 | 15 | exit; // Exit if accessed directly. |
| 16 | + // @codeCoverageIgnoreEnd | |
| 15 | 17 | } |
| 16 | 18 | |
| 17 | 19 | /** |
| 18 | 20 | * Deprecated CLI Commands for ElasticPress |
| @@ -271,6 +273,5 @@ | ||
| 271 | 273 | ) |
| 272 | 274 | ); |
| 273 | 275 | $this->stop_sync( $args, $assoc_args ); |
| 274 | 276 | } |
| 275 | - | |
| 276 | 277 | } |