narrowspark / framework

:dragon: The main repository for all narrowspark components.
MIT License
16 stars 2 forks source link

fix: Remove broken composer provide rules #804

Closed stof closed 3 years ago

stof commented 3 years ago
Q A
Branch? master for features
Bug fix? yes
New feature? no
Deprecations? no
Tickets Refs composer/composer#9316
License MIT
Doc PR n/a

The session component does not provide the psr/http-message interfaces. It does not even provide an implementation of these interfaces (and neither of the PSR container interfaces). Lying about provided packages will cause issues as composer might not install psr/http-message when other packages need it, by thing that viserio/session already fills the need. And Composer 2 is more likely to be affected than Composer 1 as it respects provide more than Composer 1.