Feature #38970
The use of each is not allowed in loops
| Status: | Closed | Start date: | 2012-07-15 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | Andy Grunwald | % Done: | 0% |
|
| Category: | Loops | Spent time: | - | |
| Target version: | 0.0.4 | |||
| Branch: | v4 | Tags: | ||
| Votes: | 0 |
Description
Implement a sniff which checks for
eachin loops.
Subtasks
Associated revisions
[FEATURE] The use of each is not allowed in loops
The use of the PHP function "each()" is not allowed in loops.
Use foreach instead.
Change-Id: Ibd72a5f33ef91fde566ea0620d2a45931d6d7d31
Fixes: #38970
Releases: 0.0.4
History
Updated by Gerrit Code Review 10 months ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14431
Updated by Andy Grunwald 10 months ago
- Assignee set to Andy Grunwald
The UnitTest and Sniff applies the PEAR CGL.
This is the one reason why there is no TYPO3 doc block comment.
The other reason is, that we code stuff for an external tool.
Yes, it is part of the TYPO3 QA-Stuff, but it not under the TYPO3 licensing stuff and not part of TYPO3 core or something like this.
Updated by Stefano Kowalke 9 months ago
- Status changed from Under Review to Closed