@@ -898,7 +898,7 @@ public function testDigestHttpAuth()
898
898
// Skip Digest Access Authentication test on HHVM.
899
899
// https://github.com/facebook/hhvm/issues/5201
900
900
if (defined ('HHVM_VERSION ' )) {
901
- return ;
901
+ $ this -> markTestSkipped () ;
902
902
}
903
903
904
904
$ username = 'myusername ' ;
@@ -1271,7 +1271,7 @@ public function testPostFileFormDataContentType()
1271
1271
public function testPostCurlFileFormDataContentType ()
1272
1272
{
1273
1273
if (!class_exists ('CURLFile ' )) {
1274
- return ;
1274
+ $ this -> markTestSkipped () ;
1275
1275
}
1276
1276
1277
1277
$ file_path = Helper \get_png ();
@@ -2896,7 +2896,7 @@ public function testMemoryLeak()
2896
2896
// Skip memory leak test failing for PHP 7.
2897
2897
// "Failed asserting that 8192 is less than 1000."
2898
2898
if (getenv ('TRAVIS_PHP_VERSION ' ) === '7.0 ' ) {
2899
- return ;
2899
+ $ this -> markTestSkipped () ;
2900
2900
}
2901
2901
2902
2902
ob_start ();
@@ -2934,7 +2934,7 @@ public function testAlternativeStandardErrorOutput()
2934
2934
{
2935
2935
// Skip test on HHVM due to "Segmentation fault".
2936
2936
if (defined ('HHVM_VERSION ' )) {
2937
- return ;
2937
+ $ this -> markTestSkipped () ;
2938
2938
}
2939
2939
2940
2940
$ buffer = fopen ('php://memory ' , 'w+ ' );
@@ -2980,7 +2980,7 @@ public function testOptionSet()
2980
2980
{
2981
2981
// Skip this test on 5.3, 5.4, and HHVM.
2982
2982
if (version_compare (PHP_VERSION , '5.5.0 ' , '< ' ) || defined ('HHVM_VERSION ' )) {
2983
- return ;
2983
+ $ this -> markTestSkipped () ;
2984
2984
}
2985
2985
2986
2986
$ option = CURLOPT_ENCODING ;
0 commit comments