[TYPO3-english] Strange depreciation log behavior
Markus Klein
klein.t3 at mfc-linz.at
Wed Sep 12 14:10:10 CEST 2012
Hi!
Check the line in temp_CACHED_ps*.ext_localconf.php where this method is called if it really belongs to phpunit.
If it really belongs to phpunit, class_exists('t3lib_utility_VersionNumber') returns FALSE, hence some strange caching is going on somewhere.
(type3temp/Cache, APC, eAcc, etc.)
Kind regards
Markus
> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of Thomas Skierlo
> Sent: Wednesday, September 12, 2012 12:13 PM
> To: typo3-english at lists.typo3.org
> Subject: [TYPO3-english] Strange depreciation log behavior
>
> With TYPO3 4.7.4 my depreciation log is flooded with:
>
> 12-09-12 11:48:
> t3lib_div::int_from_ver() - since TYPO3 4.6, will be removed in TYPO3
> 6.1 - Use
> t3lib_utility_VersionNumber::convertVersionNumberToInteger() instead
> - require(ypo3/init.php),ypo3/ajax.php#55 //
> require(3lib/config_default.php),ypo3/init.php#201 //
> require(typo3conf/temp_CACHED_ps0e32_ext_localconf.php),3lib/config_default.php#1086
> // t3lib_div::int_from_ver#1466 //
> t3lib_div::logDeprecatedFunction#888 (3lib/class.t3lib_div.php#885)
>
> The only occurrance of "t3lib_div::int_from_ver()" on my dev. server is within Ext.: PHPUnit 3.6.11, and the usage looks perfectly ok to
> me:
>
>
> /**
>
> * Computes the current TYPO3 version and returns it.
>
> *
>
> * @return integer
>
> */
>
> protected function getCurrentTypo3Version() {
>
> return class_exists('t3lib_utility_VersionNumber')
>
> ? t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version)
>
> : t3lib_div::int_from_ver(TYPO3_version);
>
> }
>
>
> Any ideas?
>
>
> Thomas
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list