File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -28,16 +28,15 @@ protected function getHttpClient(string $testCase): HttpClientInterface
2828
2929 /**
3030 * @requires PHP 7.2.17
31- * @requires extension curl 7.61
3231 */
3332 public function testHttp2Push ()
3433 {
3534 if (\PHP_VERSION_ID >= 70300 && \PHP_VERSION_ID < 70304 ) {
3635 $ this ->markTestSkipped ('PHP 7.3.0 to 7.3.3 don \'t support HTTP/2 PUSH ' );
3736 }
3837
39- if (!\defined ('CURLMOPT_PUSHFUNCTION ' ) || !( CURL_VERSION_HTTP2 & curl_version ()['features ' ])) {
40- $ this ->markTestSkipped ('curl is not compiled with support for HTTP/2 PUSH ' );
38+ if (!\defined ('CURLMOPT_PUSHFUNCTION ' ) || 0x073d00 > ( $ v = curl_version ())[ ' version_number ' ] || !( CURL_VERSION_HTTP2 & $ v ['features ' ])) {
39+ $ this ->markTestSkipped ('curl <7.61 is used or it is not compiled with support for HTTP/2 PUSH ' );
4140 }
4241
4342 $ logger = new class () extends AbstractLogger {
You can’t perform that action at this time.
0 commit comments