Actions
Bug #77989
closedPSR-7 ServerRequest array properties must be initialized as arrays
Start date:
2016-09-19
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
All the PSR-7 Request/Response object properties which are expected to be arrays when accessed must be initialized as arrays from the beginning. Otherwise this raises errors, when e.g. queryParams or attributes are accessed, which may not be initialized from outside with the correspoding `with*()` method.
Since the PSR-7 implementation is inspired by `phly/http/` which is superseded by `zend-diactoros`, it's perfectly to fix this, as this is fixed in diactoros too (Comparing the abandoned phly implementation against current diactoros).
Actions