Files must end in a single new line character.
Expected "foreach (...) {\n"; found "foreach(...){\n".
Expected "if (...) {\n";.
Whitespace found at end of line.
You must use "/**" style comments for a function comment.