Hi all,

from my point of view having PHP 5.3 as a requirement is not a good idea since 
some of the enterprise Linux distribution (for example SUSE and RedHat (at 
least up to RHEL 5.7 distributed since 2011-07)) still stick to PHP 5.1 or 5.2. 
Therefore I'd prefer not to rely on PHP v5.3 just for supporting unit tests of 
Log4PHP at this time.

BR
Michael.

From: Ivan Habunek [mailto:[email protected]]
Sent: Saturday, September 03, 2011 23:12
To: Log4PHP Dev
Subject: PHP 5.3 required

Hi one and all,

Just finished rewriting Syslog appender. While writing tests, I used 
reflections to make private methods an properties public. This makes testing 
much easier and more efficient.

However, some of the reflection methods used require PHP 5.3 2 or later. For 
example, a vital one is:
http://www.php.net/manual/en/reflectionmethod.setaccessible.php

I have configured the syslog tests to be skipped if the required methods are 
not present so people with older versions of PHP can still run tests, but not 
the whole set.

Can we live with PHP 5.3.2+ being a requirement for running the whole set of 
unit tests?

Regards,
Ivan

Reply via email to