Coup attempt in Philippines

Philippines President Gloria Arroyo invoked emergency rule yesterday after security forces said they had foiled a coup attempt.

If the coup attempt was unsuccessful, why is there a need to declare an emergency after it was over? Either this is a pretext for increased repression or, more likely, major factions of the Army are not loyal and future attempts are coming.