Whenever an elected or appointed official of a municipality is required to take, subscribe or file an oath or affirmation of office, the oath or affirmation shall be in the form prescribed in this section, as follows:
I do solemnly swear (or affirm) that I will support, obey and defend the Constitution of the United States and the Constitution of this Commonwealth and that I will discharge the duties of my office with fidelity.
53 Pa.C.S. § 1141