Added php-cs-fixer to check if PSR-2 is followed.
Fixed indentation
Added documentation
Fixed indentation
Fixed a bug where the error message missed a variable.