Package: php-db
Version: 1.7.13-2
Severity: minor

Dear Maintainer,

When running PHP in strict mode, I get lots of warnings from the parser telling 
me that there are non-static functions in DB.php that are being called 
statically from common.php.

Although the code appears to work, it makes catching problems in our apache 
logs very difficult.

These functions are isManip and isError.

I have altered the declaration of these two functions and I no longer get the 
warnings filling my apache error logs and my code still works as expected: 
would you be able make the same changes to the real code, please ?

My changes are:

592c592
<     static function isError($value)
---
>     function isError($value)
628c628
<     static function isManip($query)
---
>     function isManip($query)

Many thanks,


-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php-db depends on:
ii  php-pear  5.4.1~rc1-1

php-db recommends no packages.

php-db suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to