Bug#670242: [php-maint] Bug#670242: php-db: Warnings about static calls to non-static methods from common.php

2012-04-26 Thread Thomas Goirand
On 04/26/2012 10:26 PM, TreeBoy wrote: > Package: php-db > Followup-For: Bug #670242 > > Dear Thomas, > > I'm glad to be able to say that I have built the package by downloading > DB-1.7.14.tgz, renaming it tp php-db-1.7.14.tar.gz and then running: > dpkg-buildpackage -us -uc > > This produced

Bug#670242: php-db: Warnings about static calls to non-static methods from common.php

2012-04-26 Thread TreeBoy
Package: php-db Followup-For: Bug #670242 Dear Thomas, I'm glad to be able to say that I have built the package by downloading DB-1.7.14.tgz, renaming it tp php-db-1.7.14.tar.gz and then running: dpkg-buildpackage -us -uc This produced the following output which I hope is correct: $ dpkg-bui

Bug#670242: php-db: Warnings about static calls to non-static methods from common.php

2012-04-26 Thread TreeBoy
Package: php-db Version: 1.7.13-2 Followup-For: Bug #670242 Dear Maintainer, I'm afraid that I do not know how to carry out this test. I have the repo cloed down to my machine, but I do not know how to build the package: can you tell me where I can find instructions, please ? Sorry for my igno

Bug#670242: [php-maint] Bug#670242: php-db: Warnings about static calls to non-static methods from common.php

2012-04-26 Thread Thomas Goirand
On 04/25/2012 05:08 PM, TreeBoy wrote: > Package: php-db > Version: 1.7.13-2 > Followup-For: Bug #670242 > > Dear Maintainer, > > I'm sorry, I did the diff after I had made the changes: I added the static in > order to remove the problems about calls to DB::isManip() and DB::isError(). > > So t

Bug#670242: php-db: Warnings about static calls to non-static methods from common.php

2012-04-25 Thread TreeBoy
Package: php-db Version: 1.7.13-2 Followup-For: Bug #670242 Dear Maintainer, I'm sorry, I did the diff after I had made the changes: I added the static in order to remove the problems about calls to DB::isManip() and DB::isError(). So the diff is of the altered file. (As an aside, I should ha

Bug#670242: [php-maint] Bug#670242: php-db: Warnings about static calls to non-static methods from common.php

2012-04-24 Thread Thomas Goirand
On 04/24/2012 07:13 PM, TreeBoy wrote: > My changes are: > > 592c592 > < static function isError($value) > --- >> function isError($value) > 628c628 > < static function isManip($query) > --- >> function isManip($query) Hi, I did some greps in the code, and didn't see any function

Bug#670242: php-db: Warnings about static calls to non-static methods from common.php

2012-04-24 Thread TreeBoy
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 catc