diff --git a/includes/Activator.php b/includes/Activator.php index deeb8c6..fb142dc 100644 --- a/includes/Activator.php +++ b/includes/Activator.php @@ -10,23 +10,11 @@ namespace WCPOS\WooCommercePOS; -use function add_action; -use function add_role; -use function admin_url; -use function class_exists; -use function deactivate_plugins; -use function defined; -use function did_action; -use function function_exists; -use function is_admin; -use function is_multisite; -use function register_activation_hook; -use function restore_current_blog; -use function sprintf; -use function switch_to_blog; -use function version_compare; use const DOING_AJAX; +/** + * + */ class Activator { public function __construct() { register_activation_hook( PLUGIN_FILE, array( $this, 'activate' ) ); diff --git a/includes/Deactivator.php b/includes/Deactivator.php index 3d3890e..86f26e7 100644 --- a/includes/Deactivator.php +++ b/includes/Deactivator.php @@ -1,16 +1,20 @@ * * @see http://wcpos.com + * @package WooCommercePOS */ namespace WCPOS\WooCommercePOS; +/** + * Fired during plugin deactivation. + */ class Deactivator { public function __construct() { register_deactivation_hook( PLUGIN_FILE, array( $this, 'deactivate' ) ); diff --git a/woocommerce-pos.php b/woocommerce-pos.php index 93d3898..0cf9a84 100644 --- a/woocommerce-pos.php +++ b/woocommerce-pos.php @@ -33,7 +33,7 @@ // minimum requirements. const WC_MIN_VERSION = '5.3'; const PHP_MIN_VERSION = '7.4'; -const MIN_PRO_VERSION = '1.2.0'; +const MIN_PRO_VERSION = '1.4.0-beta.3'; // load .env flags (for development). function load_env( $file ) {