laminas / laminas-di

Automated dependency injection for PSR-11 containers
https://docs.laminas.dev/laminas-di/
BSD 3-Clause "New" or "Revised" License
36 stars 20 forks source link

Add support for psr/log v2 and v3 #49

Open kdubuc opened 2 years ago

kdubuc commented 2 years ago

Can we add support for Psr LoggerInterface to v2 and v3 ("psr/log": "^1.0|^2.0|^3.0") ?

Currently, only v1.1.4 is supported : https://github.com/laminas/laminas-di/blob/b9a53578117faeff91c59fa6902fd0add0a1a844/composer.json#L38

Ocramius commented 2 years ago

@kdubuc do send a patch attempting to upgrade to ^2, then ^3? I'm OK with supporting all 3, but we need to make sure we verify them individually too, before proceeding.