From 562d29555bebefc0cf906910ee5d7cc55cbd5c5c Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Wed, 7 Jun 2023 20:43:25 +0200 Subject: [PATCH] Declare all classes under lib and model as deprecated. --- Changelog | 3 +++ ext_emconf.php | 2 +- lib/class.tx_transactor_api.php | 1 + lib/class.tx_transactor_listener.php | 2 ++ model/class.tx_transactor_gateway.php | 3 +++ model/class.tx_transactor_gatewayfactory.php | 3 +++ model/class.tx_transactor_gatewayproxy.php | 4 ++++ model/class.tx_transactor_language.php | 1 + model/class.tx_transactor_model_control.php | 2 ++ 9 files changed, 20 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 4143080..2cfd246 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,6 @@ +2023-06-07 Franz Holzinger + * Declare all classes under lib and model as deprecated. They will be removed in 2024. + 2023-06-02 Franz Holzinger * compatibility Deprecation no.92947: replace TYPO3_MODE by TYPO3 or remove this constant * add compatibility for TYPO3 12 diff --git a/ext_emconf.php b/ext_emconf.php index 40f9278..19cfabf 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -16,7 +16,7 @@ 'author_company' => '', 'constraints' => [ 'depends' => [ - 'php' => '7.4.0-8.1.99', + 'php' => '7.4.0-8.4.99', 'typo3' => '10.4.0-12.4.99', 'div2007' => '1.14.0-0.0.0', ], diff --git a/lib/class.tx_transactor_api.php b/lib/class.tx_transactor_api.php index cf6fc54..5922c2f 100644 --- a/lib/class.tx_transactor_api.php +++ b/lib/class.tx_transactor_api.php @@ -39,6 +39,7 @@ use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; use TYPO3\CMS\Core\Utility\GeneralUtility; +// deprecated: will be removed in 2024 class tx_transactor_api { protected static $cObj; diff --git a/lib/class.tx_transactor_listener.php b/lib/class.tx_transactor_listener.php index cf09015..f064904 100644 --- a/lib/class.tx_transactor_listener.php +++ b/lib/class.tx_transactor_listener.php @@ -36,6 +36,8 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; +// deprecated: will be removed in 2024 + abstract class tx_transactor_listener { /** diff --git a/model/class.tx_transactor_gateway.php b/model/class.tx_transactor_gateway.php index 3553ffb..b6a6384 100644 --- a/model/class.tx_transactor_gateway.php +++ b/model/class.tx_transactor_gateway.php @@ -27,6 +27,9 @@ use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; +// deprecated: will be removed in 2024 + + /** * Abstract class defining the interface for gateway implementations. * diff --git a/model/class.tx_transactor_gatewayfactory.php b/model/class.tx_transactor_gatewayfactory.php index d9c1b8d..0747d3f 100644 --- a/model/class.tx_transactor_gatewayfactory.php +++ b/model/class.tx_transactor_gatewayfactory.php @@ -35,6 +35,9 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; +// deprecated: will be removed in 2024 + + final class tx_transactor_gatewayfactory { private static $instance = false; // Holds an instance of this class diff --git a/model/class.tx_transactor_gatewayproxy.php b/model/class.tx_transactor_gatewayproxy.php index daa4a56..d4cd23c 100644 --- a/model/class.tx_transactor_gatewayproxy.php +++ b/model/class.tx_transactor_gatewayproxy.php @@ -27,6 +27,10 @@ use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; + +// deprecated: will be removed in 2024 + + /** * Proxy class implementing the interface for gateway implementations. This * class hangs between the real gateway implementation and the application diff --git a/model/class.tx_transactor_language.php b/model/class.tx_transactor_language.php index 9cac14a..076d896 100644 --- a/model/class.tx_transactor_language.php +++ b/model/class.tx_transactor_language.php @@ -37,6 +37,7 @@ * */ +// deprecated: will be removed in 2024 class tx_transactor_language extends tx_div2007_alpha_language_base implements \TYPO3\CMS\Core\SingletonInterface { public function init1 ($pObj, $cObj, $conf, $scriptRelPath) { diff --git a/model/class.tx_transactor_model_control.php b/model/class.tx_transactor_model_control.php index 6249874..36f35c1 100644 --- a/model/class.tx_transactor_model_control.php +++ b/model/class.tx_transactor_model_control.php @@ -36,6 +36,8 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; +// deprecated: will be removed in 2024 + class tx_transactor_model_control {