Codesniff fixes for event Addadmin.php