From 85e01565e0353a249bbb6966116a2bb40cffd0c5 Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Tue, 6 Mar 2018 10:34:18 -0300 Subject: [PATCH] Fix PHPCS violations in includes/admin/plugin-updates/class-wc-updates-screen-updates.php --- .../plugin-updates/class-wc-updates-screen-updates.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/includes/admin/plugin-updates/class-wc-updates-screen-updates.php b/includes/admin/plugin-updates/class-wc-updates-screen-updates.php index bbc40f3a7e2..5e55da51488 100644 --- a/includes/admin/plugin-updates/class-wc-updates-screen-updates.php +++ b/includes/admin/plugin-updates/class-wc-updates-screen-updates.php @@ -2,11 +2,10 @@ /** * Manages WooCommerce plugin updating on the Updates screen. * - * @author Automattic - * @category Admin * @package WooCommerce/Admin * @version 3.2.0 */ + if ( ! defined( 'ABSPATH' ) ) { exit; } @@ -15,6 +14,9 @@ if ( ! class_exists( 'WC_Plugin_Updates' ) ) { include_once dirname( __FILE__ ) . '/class-wc-plugin-updates.php'; } +/** + * Class WC_Updates_Screen_Updates + */ class WC_Updates_Screen_Updates extends WC_Plugin_Updates { /** @@ -39,7 +41,7 @@ class WC_Updates_Screen_Updates extends WC_Plugin_Updates { $this->major_untested_plugins = $this->get_untested_plugins( $this->new_version, 'major' ); if ( ! empty( $this->major_untested_plugins ) ) { - echo $this->get_extensions_modal_warning(); + echo $this->get_extensions_modal_warning(); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped $this->update_screen_modal_js(); } }