From 1e9c61d2931fa04e2319c3868bd11112de198ad9 Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Sun, 2 Oct 2016 17:21:07 -0500 Subject: [PATCH 1/2] Deprecate MooTools based helpers --- libraries/cms/html/sliders.php | 5 +++++ libraries/cms/html/tabs.php | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/libraries/cms/html/sliders.php b/libraries/cms/html/sliders.php index ab761d1e698ee..93a42d1e58c95 100644 --- a/libraries/cms/html/sliders.php +++ b/libraries/cms/html/sliders.php @@ -13,6 +13,7 @@ * Utility class for Sliders elements * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ abstract class JHtmlSliders { @@ -25,6 +26,7 @@ abstract class JHtmlSliders * @return string * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function start($group = 'sliders', $params = array()) { @@ -39,6 +41,7 @@ public static function start($group = 'sliders', $params = array()) * @return string hTML to close the pane * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function end() { @@ -54,6 +57,7 @@ public static function end() * @return string HTML to start a panel * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function panel($text, $id) { @@ -70,6 +74,7 @@ public static function panel($text, $id) * @return void * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ protected static function loadBehavior($group, $params = array()) { diff --git a/libraries/cms/html/tabs.php b/libraries/cms/html/tabs.php index 7e47f13359921..4efa237dc268e 100644 --- a/libraries/cms/html/tabs.php +++ b/libraries/cms/html/tabs.php @@ -13,6 +13,7 @@ * Utility class for Tabs elements. * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ abstract class JHtmlTabs { @@ -25,6 +26,7 @@ abstract class JHtmlTabs * @return string * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function start($group = 'tabs', $params = array()) { @@ -39,6 +41,7 @@ public static function start($group = 'tabs', $params = array()) * @return string HTML to close the pane * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function end() { @@ -54,6 +57,7 @@ public static function end() * @return string HTML to start a new panel * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function panel($text, $id) { @@ -69,6 +73,7 @@ public static function panel($text, $id) * @return void * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ protected static function loadBehavior($group, $params = array()) { From d02f1e877ed4f2b31bb82adace4a6037128e846d Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Sun, 2 Oct 2016 17:26:48 -0500 Subject: [PATCH 2/2] PHPCS sucks... --- libraries/cms/html/sliders.php | 2 +- libraries/cms/html/tabs.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/cms/html/sliders.php b/libraries/cms/html/sliders.php index 93a42d1e58c95..5c139008000a5 100644 --- a/libraries/cms/html/sliders.php +++ b/libraries/cms/html/sliders.php @@ -12,7 +12,7 @@ /** * Utility class for Sliders elements * - * @since 1.6 + * @since 1.6 * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ abstract class JHtmlSliders diff --git a/libraries/cms/html/tabs.php b/libraries/cms/html/tabs.php index 4efa237dc268e..fab03ab4e0efe 100644 --- a/libraries/cms/html/tabs.php +++ b/libraries/cms/html/tabs.php @@ -12,7 +12,7 @@ /** * Utility class for Tabs elements. * - * @since 1.6 + * @since 1.6 * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ abstract class JHtmlTabs