Fixed code violations in ServerConfigChecks.class.php

Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>