[php-maint] PHP Strict Standards warnings activated by default?
Ondřej Surý
ondrej at debian.org
Mon Mar 26 07:59:14 UTC 2012
Hi,
upstream has changed E_ALL to include E_STRICT, so yes you need all
PHP stuff which sets error_reporting = E_ALL and expects the old
behaviour.
O.
On Sun, Mar 25, 2012 at 18:18, Thomas Goirand <zigo at debian.org> wrote:
> Hi,
>
> After thinking about it for a long time, I am wondering: are the "PHP
> Strict Standards warnings" activated by default in PHP 5.4 in SID, or is
> it only something done by some unit tests?
>
> If the former, I think we should fix that, if the later, then everything
> is fine. I had a look into the php.ini for php-cli, and I'm really
> unsure of what's being actually set. My understanding is that we have:
>
> error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
>
> which means that we have all warnings but deprecation and strict. Is
> that correct?
>
> Now, if I find some E_STRICT or E_DEPRECATED in some PEAR packages, what
> should we do about them? Are they good candidates for having Debian
> specific patches (if upstream isn't fixing, like for XML_Parser, which
> annoys me...)?
>
> Thomas
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
--
Ondřej Surý <ondrej at sury.org>
More information about the pkg-php-maint
mailing list