=== on 21 Jun 2013, 08:59:48 Dinesh Bolkensteyn wrote:
----
<?php
echo "<ul>\n";
foreach ($array as $element) {
  <li><?php echo $element; ?></li>
}
echo "</ul>\n";
?>
----

should be refactored into:


----
<ul>
<?php
foreach ($array as $element) {
?>
  <li><?php echo $element; ?></li>
<?php
}
?>
</ul>
----

or:



----
<?php
echo "<ul>\n";
foreach ($array as $element) {
  echo "  <li>$element</li>\n";
}
echo "</ul>\n";
?>
----

=== on 21 Jun 2013, 09:28:59 Dinesh Bolkensteyn wrote:
We should be careful with nested lists....

=== on 8 Jul 2013, 18:21:30 Freddy Mallet wrote:
Is implemented by \http://jira.codehaus.org/browse/SONARPLUGINS-2993

