• File: unsupported-php-version-notice.php
  • Full Path: /home/atelipy/www/wpmain/plugins/wordpress-seo/src/deprecated/src/integrations/admin/unsupported-php-version-notice.php
  • File size: 1.39 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Yoast\WP\SEO\Integrations\Admin;

use Yoast\WP\SEO\Conditionals\Yoast_Admin_And_Dashboard_Conditional;
use Yoast\WP\SEO\Integrations\Integration_Interface;

/**
 * Class Unsupported_PHP_Version_Notice.
 *
 * @package Yoast\WP\SEO\Integrations\Admin
 *
 * @deprecated 25.0
 * @codeCoverageIgnore
 */
class Unsupported_PHP_Version_Notice implements Integration_Interface {

	/**
	 * Returns the conditionals based on which this integration should be active.
	 *
	 * @deprecated 25.0
	 * @codeCoverageIgnore
	 *
	 * @return array<string> The array of conditionals.
	 */
	public static function get_conditionals() {
		\_deprecated_function( __METHOD__, 'Yoast SEO 25.0' );
		return [
			Yoast_Admin_And_Dashboard_Conditional::class,
		];
	}

	/**
	 * Register hooks.
	 *
	 * @deprecated 25.0
	 * @codeCoverageIgnore
	 *
	 * @return void
	 */
	public function register_hooks() {
		\_deprecated_function( __METHOD__, 'Yoast SEO 25.0' );
	}

	/**
	 * Checks the current PHP version.
	 *
	 * @deprecated 25.0
	 * @codeCoverageIgnore
	 *
	 * @return void
	 */
	public function check_php_version() {
		\_deprecated_function( __METHOD__, 'Yoast SEO 25.0' );
	}

	/**
	 * Composes the body of the message to display.
	 *
	 * @deprecated 25.0
	 * @codeCoverageIgnore
	 *
	 * @return string The message to display.
	 */
	public function body() {
		\_deprecated_function( __METHOD__, 'Yoast SEO 25.0' );
		return '';
	}
}