You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add latest coding standard and add declare(strict_types=1); where its missing
Background
We already prepared v3 to support native PSR-17 factories (when available) and now we just have to create a new major to drop support for the callable factory.
Considerations
mezzio/mezzio (like laminas/laminas-mvc) is supposed to work as a "project". I dont think that there are too many components which depend on it and thus, we can safely create a new major.
Proposal(s)
To get fully PSR-17 compatible, we just have to remove the ResponseInterface service usage (which was used to receive a callable which creates a PSR-7 ResponseInterface when being invoked.
Appendix
Affected components
Component
PSR-17 compatible
mezzio/mezzio-router
❗ as of 3.6.0ResponseFactoryInterface, StreamFactoryInterface still missing
RFC
Goal
callable
response factory supportdeclare(strict_types=1);
where its missingBackground
We already prepared v3 to support native
PSR-17
factories (when available) and now we just have to create a new major to drop support for the callable factory.Considerations
mezzio/mezzio
(likelaminas/laminas-mvc
) is supposed to work as a "project". I dont think that there are too many components which depend on it and thus, we can safely create a new major.Proposal(s)
To get fully PSR-17 compatible, we just have to remove the
ResponseInterface
service usage (which was used to receive acallable
which creates a PSR-7ResponseInterface
when being invoked.Appendix
Affected components
mezzio/mezzio-router
ResponseFactoryInterface
,StreamFactoryInterface
still missingmezzio/mezzio-authentication-basic
mezzio/mezzio-authentication-laminasauthentication
mezzio/mezzio-authentication-oauth2
mezzio/mezzio-authentication-session
mezzio/mezzio-authorization
mezzio/mezzio-hal
mezzio/mezzio-problem-details
mezzio/mezzio-problem-details
laminas/laminas-httphandlerrunner
Project to keep track of current implementation status
The text was updated successfully, but these errors were encountered: