ZF-2825: Strict Standards error messages

Description

Strict Standards: Declaration of Zend_Db_Adapter_Pdo_Oci::quoteTableAs() should be compatible with that of Zend_Db_Adapter_Abstract::quoteTableAs() in /Zend/Db/Adapter/Pdo/Oci.php on line 341

Strict Standards: Declaration of Zend_Db_Adapter_Oracle::quoteTableAs() should be compatible with that of Zend_Db_Adapter_Abstract::quoteTableAs() in /Zend/Db/Adapter/Oracle.php on line 612

Comments

Please give your PHP Version, ZF Version or ZF Revision for detailed reproduction.

On current trunk (r8860), both declarations are OK. I've just looked the up in the code. But I haven't try to run some code on it.

I have also viewed such failures when running UnitTests on the complete framework on Windows with the latest trunk yesterday.

I have also received a similar Strict Standards Error. I am using the following:

  • PHP Version: 5.2.5
  • ZF Version: 1.5

Please categorize/fix as needed.

To fix this issue a change similar to the one described in ZF-2628 needs to be made.

Also it may be worth noting that the docblock for the method quoteTableAs() in Zend_Db_Pdo_Oci.php needs to have the following parameter description added:

@param boolean $auto If true, heed the AUTO_QUOTE_IDENTIFIERS config option.

Hope that is helpful.

Correction: I meant Zend_Db_Adapter_Pdo_Oci.php and not Zend_Db_Pdo_Oci.php.

For Pdo_Oci fixed in SVN9537 For Oracle fixed in SVN11560