Ticket Details
Rule for `while` loop should be updated to account for `do` loops
RFC Ticket (closed)
Currently, the QA rules always expect a `while (...)` statement to be followed by an opening brace. This is invalid for `do {...} while (...)` loops, as in the following:
{{{
[Failed ] syntax check of `libraries/lithium/console/Command.php`
182| 5| No brace for `while` statement
}}}
The rule should be updated to account for this.
Updates
(fixed)
on 08.24.10
by davidpersson
- id was changed to 255
- number was changed to 2
- project_id was changed to 5
- owner was changed to davidpersson
- status was changed to closed
- resolution was changed to fixed
- title was changed to Rule for `while` loop should be updated to account for `do` loops
- description was changed