changed check style severity from error to warning

changed check style severity from error to warning in order to prevent
build errors cause of check style warnings