Whooping cough cases prompt public health warning