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
{{ message }}
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
a potentially nested array of uploaded file instances and/or `$_FILES`
24
+
entries, including those aggregated under mod_php, php-fpm, and php-cgi in
25
+
order to create a flat array of `UploadedFileInterface` instances to use in a
26
+
request)
10
27
11
28
### Changed
12
29
13
30
- Nothing.
14
31
15
32
### Deprecated
16
33
34
+
-[#307](https://github.com/zendframework/zend-diactoros/pull/307) deprecates `ServerRequestFactory::normalizeServer()`; the method is
35
+
no longer used internally, and users should instead use `Zend\Diactoros\normalizeServer()`,
36
+
to which it proxies.
37
+
38
+
-[#307](https://github.com/zendframework/zend-diactoros/pull/307) deprecates `ServerRequestFactory::marshalHeaders()`; the method is
39
+
no longer used internally, and users should instead use `Zend\Diactoros\marshalHeadersFromSapi()`,
40
+
to which it proxies.
41
+
42
+
-[#307](https://github.com/zendframework/zend-diactoros/pull/307) deprecates `ServerRequestFactory::marshalUriFromServer()`; the method
43
+
is no longer used internally. Users should use `marshalUriFromSapi()` instead.
44
+
45
+
-[#307](https://github.com/zendframework/zend-diactoros/pull/307) deprecates `ServerRequestFactory::marshalRequestUri()`. the method is no longer
46
+
used internally, and currently proxies to `marshalUriFromSapi()`, pulling the
47
+
discovered path from the `Uri` instance returned by that function. Users
48
+
should use `marshalUriFromSapi()` instead.
49
+
50
+
-[#307](https://github.com/zendframework/zend-diactoros/pull/307) deprecates `ServerRequestFactory::marshalHostAndPortFromHeaders()`; the method
51
+
is no longer used internally, and currently proxies to `marshalUriFromSapi()`,
52
+
pulling the discovered host and port from the `Uri` instance returned by that
53
+
function. Users should use `marshalUriFromSapi()` instead.
54
+
55
+
-[#307](https://github.com/zendframework/zend-diactoros/pull/307) deprecates `ServerRequestFactory::getHeader()`; the method is no longer
56
+
used internally. Users should copy and paste the functionality into their own
57
+
applications if needed, or rely on headers from a fully-populated `Uri`
58
+
instance instead.
59
+
60
+
-[#307](https://github.com/zendframework/zend-diactoros/pull/307) deprecates `ServerRequestFactory::stripQueryString()`; the method is no longer
61
+
used internally, and users can mimic the functionality via the expression
62
+
`$path = explode('?', $path, 2)[0];`.
63
+
64
+
-[#307](https://github.com/zendframework/zend-diactoros/pull/307) deprecates `ServerRequestFactory::normalizeFiles()`; the functionality
65
+
is no longer used internally, and users can use `normalizeUploadedFiles()` as
66
+
a replacement.
67
+
17
68
-[#303](https://github.com/zendframework/zend-diactoros/pull/303) deprecates `Zend\Diactoros\Response\EmitterInterface` and its various implementations. These are now provided via the
18
69
[zendframework/zend-httphandlerrunner](https://docs.zendframework.com/zend-httphandlerrunner) package as 1:1 substitutions.
0 commit comments