laminas / laminas-crypt

Strong cryptography tools and password hashing
https://docs.laminas.dev/laminas-crypt/
BSD 3-Clause "New" or "Revised" License
39 stars 24 forks source link

Switch from `container-interop/container-interop` to `psr/container` in a backward compatible manner #22

Closed weierophinney closed 2 years ago

weierophinney commented 2 years ago
Q A
Documentation no
Bugfix no
BC Break no
New Feature yes
RFC yes
QA no

Description

This patch switches from using container-interop as a dependency to using laminas-servicemanager 3.11.2+. Internally, it also modifies all container-interop implementations to be psr/container implementations, and modifies type-checking to check against psr/container instead of container-interop.

Since laminas-servicemanager at those versions provides and replaces container-interop, this change is backwards compatible. (This demonstration validates the approach.)

Fixes #20