Permalink
Browse files

Update Zend Diactoros and add Narrowspark’s emitter since Diactoros n…

…o longer includes an emitter.
  • Loading branch information...
kevinsmith committed Jan 12, 2019
1 parent 84a383e commit a8729169eefd2bd4f8af1857e84db9949989c097
Showing with 202 additions and 16 deletions.
  1. +3 −2 composer.json
  2. +198 −13 composer.lock
  3. +1 −1 public/index.php
@@ -13,9 +13,10 @@
"php": "7.1.*",
"php-di/php-di": "^6.0",
"relay/relay": "2.x@dev",
"zendframework/zend-diactoros": "^1.7",
"zendframework/zend-diactoros": "^2.1",
"middlewares/fast-route": "^1.0",
"middlewares/request-handler": "^1.1"
"middlewares/request-handler": "^1.1",
"narrowspark/http-emitter": "^0.7.0"
},
"autoload": {
"psr-4": {

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -6,9 +6,9 @@
use FastRoute\RouteCollector;
use Middlewares\FastRoute;
use Middlewares\RequestHandler;
use Narrowspark\HttpEmitter\SapiEmitter;
use Relay\Relay;
use Zend\Diactoros\Response;
use Zend\Diactoros\Response\SapiEmitter;
use Zend\Diactoros\ServerRequestFactory;
use function DI\create;
use function DI\get;

0 comments on commit a872916

Please sign in to comment.