(a) No motor vehicle shall be placed on blocks or on jacks on a public street for a period of more than twenty-four hours.
(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.