File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 </projectFiles >
1818
1919 <issueHandlers >
20- <StringIncrement >
21- <errorLevel type =" suppress" >
22- <directory name =" examples" />
23- <directory name =" src" />
24- </errorLevel >
25- </StringIncrement >
26-
2720 <DocblockTypeContradiction >
2821 <errorLevel type =" suppress" >
2922 <directory name =" src" />
Original file line number Diff line number Diff line change @@ -1426,7 +1426,11 @@ private function ping(): Future
14261426 $ this ->pongDeferred = $ deferred = new DeferredFuture ;
14271427 $ this ->pongWatcher = EventLoop::delay (self ::PONG_TIMEOUT , fn () => $ this ->cancelPongWatcher (false ));
14281428
1429- $ this ->writeFrame (Http2Parser::PING , data: $ this ->counter ++)->ignore ();
1429+ $ data = \PHP_VERSION_ID >= 80300
1430+ ? $ this ->counter = \str_increment ($ this ->counter )
1431+ : $ this ->counter ++;
1432+
1433+ $ this ->writeFrame (Http2Parser::PING , data: $ data )->ignore ();
14301434
14311435 return $ deferred ->getFuture ();
14321436 }
You can’t perform that action at this time.
0 commit comments