Thomas Koch wrote:
> Hi,
> 
> as I'm new to eZ Publish (but an old ezc user) I don't know if there are ways 
> to contribute to eZ Publish developing. I'd only like to contribute in code 
> cleanup for the PHP4->5 transition, but no feature developing.
> 
> Take for example lib/ezutils/classes/ezhttptool.php. None of the methods have 
> static keywords or visibility modifiers. Therefor we have many strict errors 
> with calls like eZHTTPTool::hasSessionVariable.

Most likely these methods are not declared as static because they are 
not static. Use the instance() method first to get the unique instance 
of eZHTTPTool, then call these methods on the instance. To me it seems 
that there haven't been thought much about methods and how they should 
be used in the pre-PHP 5 period of eZ Publish, and it's quite difficult 
to get it done right now without breaking too much BC.

Best regards

Kristof

> 
> I'd happily help in cleaning this up so that I can keep strict in my php.ini 
> for our own code. Would you receive and integrate patches or even give me SVN 
> access? I already signed a CLA.
> 
> Cheers,
-- 
Sdk-public mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/sdk-public

Reply via email to