Skip to content

Conversation

@pveiga2
Copy link
Contributor

@pveiga2 pveiga2 commented Apr 11, 2023

Composer: updating psr/log dependency to support versions up to 3.0

Summary

Simply redefines the psr/log dependency in composer.json
Instead of locking it to version 1.0, it allows all current versions as "^1.0 || ^2.0 || ^3.0"

This is motivated by "php-webhook-module" only supporting Logger interface 1.0, which forces any other libraries in a project to downgrade to that specification, or in the worst case it blocks composer updates when at least 1 library requires a higher interface.

Tested scenarios

Running "composer update" on a project with dependencies: Monolog 3.3 and php-webhook-module

Fixes #52

@candemiralp
Copy link
Contributor

Hello @pveiga2,

Thank you for your contribution.

Best Regards,
Can

@candemiralp candemiralp mentioned this pull request May 15, 2023
@candemiralp candemiralp merged commit 48fbf22 into Adyen:develop May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade Monolog dependency to support v3.3+

3 participants