Coding standards II

I corrected the files to avoid phpcs errors (except the -1 thing).

In the parser there are functions that i don't know so for now they don't throw errors but params are using:

<code>[type]</code> <code>[description]</code>