In the broadest sense, the Napoleonic Wars perhaps?
But if you mean in the classical world, I guess you could say they took an extended break with Rome’s final defeat of eastern powers like Pontus that still deployed some Macedonian style units.
But even Imperial Rome had some Phalanx like Auxiliaries, and the very late legions seem to have moved back to a spear and shield armament.
Bookmarks