File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11# Change Log
22
3- ## [ NOT RELEASED]
4-
5- ### Added
3+ ## 0.2.0
64
75- Add support for Symfony 7
6+ - Drop support for PHP 7 and PHP 8.0
87
98## 0.1.1
109
Original file line number Diff line number Diff line change 1010 }
1111 ],
1212 "require" : {
13- "php" : " >=8.0.5 " ,
14- "nyholm/psr7" : " ^1.4 " ,
13+ "php" : " >=8.1 " ,
14+ "nyholm/psr7" : " ^1.7 " ,
1515 "psr/http-server-handler" : " ^1.0" ,
16- "symfony/runtime" : " ^5.4 || ^6.0 || ^7.0"
16+ "symfony/runtime" : " ^5.4.26 || ^6.3.2 || ^7.0"
1717 },
1818 "require-dev" : {
1919 "phpunit/phpunit" : " ^9.5"
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ public function testHandle(): void
4343 'X-Test ' => ['Swoole-Runtime ' ],
4444 ]);
4545 $ psrResponse ->expects (self ::once ())->method ('getBody ' )->willReturn (Stream::create ('Test ' ));
46+ $ psrResponse ->expects (self ::once ())->method ('getStatusCode ' )->willReturn (200 );
47+ $ psrResponse ->expects (self ::once ())->method ('getReasonPhrase ' )->willReturn ('OK ' );
4648
4749 $ response ->expects (self ::once ())->method ('setHeader ' )->with ('X-Test ' , 'Swoole-Runtime ' );
4850 $ response ->expects (self ::once ())->method ('write ' )->with ('Test ' );
You can’t perform that action at this time.
0 commit comments