See the following link for an article from Building Science Digest that addresses the reasons why venting is not necessary with spray foam insulation.https://www.buildingscience.com/documents/digests/bsd-149-unvented-roof-assemblies-for-all-climates