File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed
Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1111 strategy :
1212 matrix :
1313 php :
14+ - 8.5
1415 - 8.4
1516 - 8.3
1617 - 8.2
Original file line number Diff line number Diff line change 1313 "require" : {
1414 "php" : " >=5.3" ,
1515 "clue/json-stream" : " ^0.1" ,
16- "react/event-loop" : " ^1.2 " ,
16+ "react/event-loop" : " ^1.6 " ,
1717 "react/http" : " ^1.11" ,
18- "react/promise" : " ^3.2 || ^2.11 || ^1.3" ,
18+ "react/promise" : " ^3.3 || ^2.11 || ^1.3" ,
1919 "react/promise-stream" : " ^1.6" ,
20- "react/socket" : " ^1.16 " ,
20+ "react/socket" : " ^1.17 " ,
2121 "react/stream" : " ^1.4" ,
22- "rize/uri-template" : " ^0.4 || ^0.3"
22+ "rize/uri-template" : " ^0.4.1 || ^0.3"
2323 },
2424 "require-dev" : {
2525 "clue/caret-notation" : " ^0.2" ,
Original file line number Diff line number Diff line change @@ -29,15 +29,21 @@ public function setUpClient()
2929 $ this ->client = new Client ();
3030
3131 $ ref = new \ReflectionProperty ($ this ->client , 'browser ' );
32- $ ref ->setAccessible (true );
32+ if (PHP_VERSION_ID < 80100 ) {
33+ $ ref ->setAccessible (true );
34+ }
3335 $ ref ->setValue ($ this ->client , $ this ->browser );
3436
3537 $ ref = new \ReflectionProperty ($ this ->client , 'parser ' );
36- $ ref ->setAccessible (true );
38+ if (PHP_VERSION_ID < 80100 ) {
39+ $ ref ->setAccessible (true );
40+ }
3741 $ ref ->setValue ($ this ->client , $ this ->parser );
3842
3943 $ ref = new \ReflectionProperty ($ this ->client , 'streamingParser ' );
40- $ ref ->setAccessible (true );
44+ if (PHP_VERSION_ID < 80100 ) {
45+ $ ref ->setAccessible (true );
46+ }
4147 $ ref ->setValue ($ this ->client , $ this ->streamingParser );
4248 }
4349
You can’t perform that action at this time.
0 commit comments