Issue #2342143 by MegaChriz: Fixed some coding standards that could automatically be fixed by PHP_CodeSniffer.