Fix lint errors
Fix an error which occurs when a reporter was not loaded
Move HTML CodeSniffer running to a separate module