Updated to work with composer2

Merged Chris Shantz requested to merge feature/ISTWCMS-5258-mnshantz-composer2-updated into 3.1.x

Merge request reports