integer-net / magento2-sansec-watch

Sansec Watch integration for Magento 2
MIT License
24 stars 1 forks source link

Facing a conflict with integer-net/magento2-sansec-watch on Magento 2.4.5-p10 #4

Open levelzero-magento opened 1 week ago

levelzero-magento commented 1 week ago

Facing a conflict with integer-net/magento2-sansec-watch on Magento 2.4.5-p10:

integer-net/magento2-sansec-watch requires symfony/http-client ^6.2 || ^7.0, but 7.x needs PHP 8.2 (we use PHP 8.1).

symfony/http-client-contracts is locked to v2.5.3, while ^3 is needed by symfony/http-client. symfony/http-kernel (required by web-token/jwt-framework in Magento 2.4.5) needs http-client-contracts ^1.1|^2.

Any suggestions or workarounds?

Thanks!

renttek commented 6 days ago

I build this module based on Magento 2.4.6 (and now 2.4.7). I think it should be enough to add ^5.0 to the http client versions, like so ^5.0 || ^6.0 || ^7.0 (if there aren't any followup errors)

I'll try to look into this, later this week (need to setup a new dev environment with 2.4.5). If you got time to look into this yourself, please feel free to create a PR 🙂