We would backfill that foundation drain pipe with drainage rock here and probably all the gutter discharge pipe at least a good compacted aggregate bedding to prevent settling and breakage. This is often skipped though to “save money”.


[Linked Image from i.postimg.cc]