[TYPO3-core] RFC #10092: Feature: Add a logging API for deprecated functions

Steffen Kamper info at sk-typo3.de
Sun Jan 11 15:53:47 CET 2009


Hi,

+1 after reading and testing.

Didn't knew that E_USER_DEPRECATED will be available in 5.3 :-)
Also Reflection is something new to me, have to read the docs
http://www.php.net/language.oop5.reflection

Thx for this great patch!

vg Steffen

Martin Kutschker schrieb:
> Martin Kutschker schrieb:
>> Hi!
>>
>> This is a patch request.
>>
>> Branch: trunk
>>
>> Description: A function to t3lib_div that logs calls to deprecated
>> functions to the PHP log and a custom log in typo3conf.
>>
>> Note: patch contains logging function and example usage in t3lib_div.
> 
> Here comes a new version. The logging is now split up into two
> functions: deprecationLog() and logDeprecatedFunction.
> 
> The reason is that I will also introduce
> TSFE->logDeprecatedTyposcript(). This function shouldn't write to the
> PHP log and it doesn't need to read any annotions.
> 
> Note: the patch contains a few corrections to the docs. They are not
> really related but make a better result when used with Doyxgen. Sorry.
> 
> Masi
> 


More information about the TYPO3-team-core mailing list