Project

General

Profile

Actions

Task #28499

closed

Rework deprecation of t3lib_div::int_from_ver()

Added by Xavier Perseguers over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2011-07-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

Deprecating t3lib_div::int_from_ver() in 4.6 leads to major developer annoyance because this method is used to switch to compatibility code for older versions of TYPO3 in extensions and a hocus-pocus is needed to prevent calling it if using 4.6.

Proposal:

- Keep it deprecated in 4.6 but activate deprecation log in 4.7 only => remove it in 4.9
- Backport t3lib_utility_Version::convertVersionNumberToInteger() - only this method - in 4.5 LTS but without refactoring code to use it, it is only there to help developers targetting only 4.5 and above to not use dirty code

Developers targetting versions before 4.5.x up to 4.6 and above still will have to use the hocus-pocus.

Actions

Also available in: Atom PDF