[5.0] Enforce short array notations in stub files