PSR-2 fixes

I've run PHP_CodeSniffer on codebase and there were only errors of 2 types:

1. too long line
2. `else if` used instead of `elseif`

This PR mostly contains a fixes for `else if` usages.