This is not consistent with style. Must have space after for/if/switch/while keywords and on both sides of the ":" in a foreach loop. The same occurs throughout the code.