HEX
Server: Apache/2.4.66 (Debian)
System: Linux 6dfabc3b2241 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User: (1000)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wp-graphql/deprecated/wp-cli.php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * Class - WPGraphQL_CLI_Command
 *
 * @deprecated since 2.7.0 Use \WPGraphQL\CLI\Commands instead.
 * @codeCoverageIgnore
 */
class WPGraphQL_CLI_Command extends \WPGraphQL\CLI\Commands {

	/**
	 * {@inheritDoc}
	 *
	 * @deprecated since 2.7.0 Use \WPGraphQL\CLI\Commands::generate_static_schema instead.
	 */
	public function generate_static_schema( $args, $assoc_args ): void {
		\WP_CLI::warning( 'The WPGraphQL_CLI_Command class is deprecated since 2.7.0. Please use the \WPGraphQL\CLI\Commands class instead.' );

		parent::generate_static_schema( $args, $assoc_args );
	}
}