Issue828

classification
Title nested foreach does not indent correctly in PHP
Type defect Module core build
Severity inconvenience Platform x86
Keywords usability Nosy List anonymous
explanation
process
These controls should only be changed by committers and tracker administrators.
Status new   Reason
Superseder  
Priority normal   Assigned To

Created on 2012-03-20.11:25:06 by anonymous, last changed 2012-03-20.11:25:06 by anonymous.

Messages
msg2412 [hidden] ([hidden]) Date: 2012-03-20.11:25:05
With auto-indenting, the following code should appear as:

<?php
foreach ($x as $y)
  foreach ($y as $z)
    doSomething();
?>

However, it is auto-indented as:

<?php
foreach ($x as $y)
foreach ($y as $z)
  doSomething();
?>
History
Date User Action Args
2012-03-20 11:25:06anonymouscreate