A comprehensive methodology to analyse bonded joints subjected to different environmental conditions