§ 150.07  EXCAVATIONS.
   (A)   Deep excavations. Whenever an excavation is made to a depth of more than four feet below the established curb, the person who causes the excavation to be made, if afforded the necessary license to enter the adjoining premises, shall preserve and protect from injury at all times and at his or her own expense such adjoining structure or premises which may be affected by the excavation. If the necessary license is not afforded, it shall then be the duty of the owner of the adjoining premises to make his or her building or structure safe by installing proper underpinning or foundations or otherwise. The owner, if it be necessary for the prosecution of his or her work, shall be granted the necessary license to enter the premises where the excavation or demolition is contemplated.
   (B)   Shallow excavations. Whenever an excavation is made to a depth less than four feet below the curb, the owner of a neighboring building or structure, the safety of which may be affected by the proposed excavation, shall preserve and protect from injury and shall support his or her building or structure by the necessary underpinning or foundations. If necessary for that purpose, the owner shall be afforded a license to enter the premises where the excavation is contemplated.
Penalty, see § 10.99