Updated php files in core and plugins to better conform to the coding standards i.e. changed
foreach ( and
else if to
elseif. P.S. my first time contributing code changes to Piwik or any OSS for that matter!
Thanks for this, but it cant be merged (and we are changing lots of files, could you try this again in 2-3 weeks?)