nuno maduro 🤌🏻 on Twitter: "If your development PHP version does not match the production one, you can enforce a specific PHP version for the installed composer packages by using the "config.platform.php"
Working with Composer
magento2 - Problem installing amazon-pay-module using composer for magento 2 - Magento Stack Exchange