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 1
1
# Change Log
2
2
3
- ## [ NOT RELEASED]
4
-
5
- ### Added
3
+ ## 0.2.0
6
4
7
5
- Add support for Symfony 7
6
+ - Drop support for PHP 7 and PHP 8.0
8
7
9
8
## 0.1.1
10
9
Original file line number Diff line number Diff line change 10
10
}
11
11
],
12
12
"require" : {
13
- "php" : " >=8.0.5 " ,
14
- "nyholm/psr7" : " ^1.4 " ,
13
+ "php" : " >=8.1 " ,
14
+ "nyholm/psr7" : " ^1.7 " ,
15
15
"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"
17
17
},
18
18
"require-dev" : {
19
19
"phpunit/phpunit" : " ^9.5"
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ public function testHandle(): void
43
43
'X-Test ' => ['Swoole-Runtime ' ],
44
44
]);
45
45
$ 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 ' );
46
48
47
49
$ response ->expects (self ::once ())->method ('setHeader ' )->with ('X-Test ' , 'Swoole-Runtime ' );
48
50
$ response ->expects (self ::once ())->method ('write ' )->with ('Test ' );
You can’t perform that action at this time.
0 commit comments