
6 Jan
2014
6 Jan
'14
3:56 p.m.
Hi, 2014/1/6 Marc Delisle <marc@infomarc.info>
Hi devs, be aware that there can be false alarms in the PHPMD report. For example, in foreach ($tabs as $key => $value) {
there is a report about unused $value, but we need it anyway, due to the foreach syntax.
We could change this by extracting the keys (with array_keys()) and loop on this new array. But I don't know the effect on the performance… This could be tested. Hugues.