Check foreach code
After a foreach with reference, the "internal" var is kept and can be a problem with the following foreach. The PHP doc advise to unset this var after the foreach.
We should check that this is done for every foreach in fd, fd-plugins or simple-plugin to avoid weird behaviours. We should also add something to our codesniffer that check this.
(from redmine: issue id 2131, created on 2013-03-15, closed on 2013-04-05)
- Changesets:
- Revision 18feda88 by Côme Chilliet on 2013-03-18T12:56:26.000Z:
Fixes: #2131 Check foreach code
- Custom Fields:
- Bug in version: 1.0.4
- Uploads: