Closed zerocrates closed 1 year ago
This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself
You can continue using laminas/laminas-http safely. Its successor will be PSR-7 in a later revision of laminas/laminas-mvc.
Consider sending a patch with a failing test case
Resolved at https://github.com/laminas/laminas-http/pull/75
Bug Report
Summary
PhpEnvironment\Response::sendHeaders sets a dynamic property
$headersSent
.This emits a deprecation notice on PHP 8.2:
The property seems to be unused: the corresponding code that actually checks if headers were sent just uses PHP's headers_sent function and doesn't use this property. The set on line 113 looks to have been accidentally left in place by the long-ago change to use headers_sent which removed the property declaration: e29f84f4c8d659e9076a7c4b9966d6a97324cc52