Fix line ending

As stated in #89 i've only detected a few PHP files not ending with LF, also executed php cs fixer in all the code to make sure everything is compliant to the standards.