The school severely punished disciplinary violations.
Tips
grammar
严加 is always followed by a verb, typically of enforcement, punishment, or management: 严加管控 (strictly control), 严加惩处 (severely punish), 严加审查 (rigorously inspect). It cannot stand alone.