Details
-
Type:
Coding Standards Violation
-
Status:
Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 0.9.3, 1.0.0 RC1
-
Fix Version/s: 1.0.0 RC2
-
Component/s: Zend_Config
-
Labels:None
Description
In Zend_Config.php,
please update the code of method Zend_Config::asArray() to no use deprecated method toArray() anymore (line 158 ZFRC1).
Unable to find source-code formatter for language: php. Available languages are: javascript, sql, xhtml, actionscript, none, html, xml, java
public function toArray() { $array = array(); foreach ($this->_data as $key => $value) { if (is_object($value)) { $array[$key] = $value->asArray(); <----- must be $array[$key] = $value->toArray(); } else { $array[$key] = $value; } } return $array; }
Resolved in SVN 5062