Skip to content

Commit f7b94d9

Browse files
committed
Fix unit test defects
1 parent 60e11ca commit f7b94d9

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/vendor/
2-
composer.lock
2+
composer.lock
3+
tests/Fixtures

Bridges/HttpKernel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function bootstrap($appBootstrap, $appenv, $debug)
6666
/**
6767
* {@inheritdoc}
6868
*/
69-
public function handle(ServerRequestInterface $request)
69+
public function handle(ServerRequestInterface $request): ResponseInterface
7070
{
7171
if (null === $this->application) {
7272
// internal server error

composer.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
"name": "php-pm/httpkernel-adapter",
33
"license": "MIT",
44
"require": {
5-
"php-pm/php-pm": "^2.0",
5+
"php-pm/php-pm": "dev-master",
66
"symfony/http-foundation": "^3.4|^4.0",
77
"symfony/http-kernel": "^3.4|^4.0",
88
"guzzlehttp/psr7": "^1.5"
99
},
1010
"require-dev": {
1111
"phpunit/phpunit": "^7.0",
12-
"symfony/framework-bundle": "^3.4|^4",
12+
"symfony/framework-bundle": "^3.4|^4.0",
13+
"symfony/yaml": "^3.4|^4.0",
1314
"doctrine/annotations": "^1.6"
1415
},
1516
"autoload": {

0 commit comments

Comments
 (0)