This door framing was raised 2 inches to fit the door. Was this done to code(top circle)? Also, is it to code to have daylight coming thru on the bottom sides (lower circles)where the foundation was poured too wide? I am an electrician and know nothing of structural code, so help on this is appreciated. This is new construction and I need to know if this should get pointed out to the inspector. Thank you much.