Feature #10129
Sniff: while loops must use extra brackets if assignment happens in the loop:
| Status: | Closed | Start date: | 2010-10-06 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Andy Grunwald | % Done: | 100% |
|
| Category: | Loops | Spent time: | - | |
| Target version: | 0.0.6 | |||
| Branch: | v4 | Tags: | ||
| Votes: | 0 |
Description
while loops must use extra brackets if assignment happens in the loop:
Have a look at the wiki for code examples: http://forge.typo3.org/projects/team-php_codesniffer/wiki/Loops
Related issues
| duplicates PHP_CodeSniffer - Feature #10130: Sniff: do loops must use extra brackets if assignment hap... | Under Review | 2010-10-06 |
History
Updated by Stefano Kowalke over 2 years ago
- Status changed from New to Accepted
- Target version set to 0.0.4
Updated by Andy Grunwald about 1 year ago
- Target version changed from 0.0.4 to 0.0.5
Updated by Stefano Kowalke 8 months ago
- Target version changed from 0.0.5 to 0.0.6
Updated by Andy Grunwald 7 months ago
- Assignee set to Andy Grunwald
- Branch set to v4
Updated by Andy Grunwald 7 months ago
- Status changed from Accepted to Closed
- % Done changed from 0 to 100