(a) No person shall violate his written promise to appear in court upon an arrest or pursuant to issuance of a summons or citation.
(b) Whoever violates any provision of this section is guilty of a minor misdemeanor on a first offense; on a second offense within one year after the first offense, the person is guilty of a misdemeanor of the fourth degree; on each subsequent offense within one year after the first offense, the person is guilty of a misdemeanor of the third degree.