It's not uncommon in Florida for repairs to be underway on both residential and business properties. During the course of these projects, a pit or hole might be left open as the work is being done. Although it's often necessary for this to be the case, that does not assuage the responsibility of the company or individual who owns the property to make certain that other people are safe. There are laws in Florida regarding pits and holes that must be adhered to so that the public is safe from injury or death.
Regardless of the reason for the hole or the work being done, the company or individual, under state law, cannot leave a pit or hole open that is located outside of an enclosure and is of greater depth and width than two feet. It can be left open if there is a fence or other enclosure that would prevent the possibility of falling into the hole. This law does not apply to mining operations.