Add spaces: Thepackagingwillbeinspectedtoensurethatformallegalrequirementshavebeencompliedwith.
The packaging will be inspected to ensure that formal legal requirements have been complied with.