Issues

ZF-2890: HtmlList helper coding standards

Description

Zend_View_Helper_HtmlList doesn't follow coding standards here:


Index: I:/xampp/php/PEAR/Zend15/library/Zend/View/Helper/HtmlList.php
===================================================================
--- I:/xampp/php/PEAR/Zend15/library/Zend/View/Helper/HtmlList.php  (revision 8854)
+++ I:/xampp/php/PEAR/Zend15/library/Zend/View/Helper/HtmlList.php  (working copy)
@@ -57,7 +57,9 @@
 
         foreach ($items as $item) {
             if (!is_array($item)) {
-                if ($escape) $item = $this->view->escape($item); 
+                if ($escape) {
+                    $item = $this->view->escape($item);
+                }
                 $list .= '' . $item . '';
             } else {
                 if (5 < strlen($list)) {

Comments

Please categorize/fix as needed.

Resetting 'fix version priority' and 'fix version' to be re-evaluated for next release.

This was fixed when resolving other issues for 1.5.2.