Skip to content

Commit 884649d

Browse files
committed
Use Psr7 ServerRequest and Response in tests instead of Symfony's
Allows decoupling kernel tests from the framework, and ease request creation
1 parent e4ed1a3 commit 884649d

File tree

7 files changed

+451
-84
lines changed

7 files changed

+451
-84
lines changed

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@
2424
"behat/symfony2-extension": "^2.1",
2525
"friendsofphp/php-cs-fixer": "^2.16",
2626
"nelmio/cors-bundle": "^2.1",
27+
"nyholm/psr7": "^1.3",
2728
"phpspec/prophecy-phpunit": "^2.0",
2829
"phpunit/phpunit": "^9.4",
2930
"symfony/phpunit-bridge": "^5.1",
31+
"symfony/psr-http-message-bridge": "^2.0",
3032
"symfony/web-profiler-bundle": "4.4.*",
3133
"wiremock-php/wiremock-php": "^2.27"
3234
},

0 commit comments

Comments
 (0)