Replaced zendframework/zend-mime into laminas/laminas-mine. (#1217)

This commit is contained in:
李铭昕 2020-01-03 15:12:03 +08:00 committed by GitHub
parent 3f38ed3cc3
commit 7e3ffb1c8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 2 deletions

View File

@ -20,6 +20,10 @@
- [#1211](https://github.com/hyperf/hyperf/pull/1211) Convert app name to valid prometheus namespace.
## Changed
- [#1217](https://github.com/hyperf/hyperf/pull/1217) Replaced `zendframework/zend-mime` into `laminas/laminas-mine`.
# v1.1.12 - 2019-12-26
## Added

View File

@ -26,6 +26,7 @@
"ircmaxell/random-lib": "^1.2",
"jcchavezs/zipkin-opentracing": "^0.1.2",
"jean85/pretty-package-versions": "^1.2",
"laminas/laminas-mime": "^2.7",
"monolog/monolog": "^1.24",
"nesbot/carbon": "^2.0",
"nikic/fast-route": "^1.3",

View File

@ -11,7 +11,7 @@
],
"require": {
"psr/http-message": "^1.0",
"zendframework/zend-mime": "^2.7"
"laminas/laminas-mime": "^2.7"
},
"require-dev": {
"swoft/swoole-ide-helper": "dev-master",

View File

@ -14,7 +14,7 @@ namespace Hyperf\HttpMessage\Base;
use Hyperf\HttpMessage\Stream\SwooleStream;
use Psr\Http\Message\StreamInterface;
use Zend\Mime\Decode;
use Laminas\Mime\Decode;
/**
* Trait implementing functionality common to requests and responses.