You do not need to use multiple declarePublic() anymore.
The ModuleSecurityInfo makes the package traversal recursively for you.
IOW, you replace
ModuleSecurityInfo('Products').declarePublic('Squishdot')
ModuleSecurityInfo('Products.Squishdot').declarePublic('stripogram')
ModuleSecurityInfo('Products.Squishdot.stripogram').declarePublic('html2safehtml')
by only
ModuleSecurityInfo('Products.Squishdot.stripogram').declarePublic('html2safehtml')
|