PSR-4ify the theme upgrader subclasses.

This commit is contained in:
Jeff Stieler 2019-08-01 22:25:13 -06:00
parent 416ab09653
commit f871c96070
3 changed files with 9 additions and 2 deletions

View File

@ -9,6 +9,9 @@
defined( 'ABSPATH' ) || exit;
use Automattic\WooCommerce\Admin\WC_Admin_Theme_Upgrader;
use Automattic\WooCommerce\Admin\WC_Admin_Theme_Upgrader_Skin;
/**
* Themes controller.
*

View File

@ -5,12 +5,14 @@
* @package WooCommerce Admin/Classes
*/
namespace Automattic\WooCommerce\Admin;
defined( 'ABSPATH' ) || exit;
/**
* WC_Admin_Theme_Upgrader Class.
*/
class WC_Admin_Theme_Upgrader extends Theme_Upgrader {
class WC_Admin_Theme_Upgrader extends \Theme_Upgrader {
/**
* Install a theme package.
*

View File

@ -5,12 +5,14 @@
* @package WooCommerce Admin/Classes
*/
namespace Automattic\WooCommerce\Admin;
defined( 'ABSPATH' ) || exit;
/**
* WC_Admin_Theme_Upgrader_Skin Class.
*/
class WC_Admin_Theme_Upgrader_Skin extends Theme_Upgrader_Skin {
class WC_Admin_Theme_Upgrader_Skin extends \Theme_Upgrader_Skin {
/**
* Hide the skin header display.
*/