@@ -898,7 +898,7 @@ public function testDigestHttpAuth()
898898 // Skip Digest Access Authentication test on HHVM.
899899 // https://github.com/facebook/hhvm/issues/5201
900900 if (defined ('HHVM_VERSION ' )) {
901- return ;
901+ $ this -> markTestSkipped () ;
902902 }
903903
904904 $ username = 'myusername ' ;
@@ -1271,7 +1271,7 @@ public function testPostFileFormDataContentType()
12711271 public function testPostCurlFileFormDataContentType ()
12721272 {
12731273 if (!class_exists ('CURLFile ' )) {
1274- return ;
1274+ $ this -> markTestSkipped () ;
12751275 }
12761276
12771277 $ file_path = Helper \get_png ();
@@ -2896,7 +2896,7 @@ public function testMemoryLeak()
28962896 // Skip memory leak test failing for PHP 7.
28972897 // "Failed asserting that 8192 is less than 1000."
28982898 if (getenv ('TRAVIS_PHP_VERSION ' ) === '7.0 ' ) {
2899- return ;
2899+ $ this -> markTestSkipped () ;
29002900 }
29012901
29022902 ob_start ();
@@ -2934,7 +2934,7 @@ public function testAlternativeStandardErrorOutput()
29342934 {
29352935 // Skip test on HHVM due to "Segmentation fault".
29362936 if (defined ('HHVM_VERSION ' )) {
2937- return ;
2937+ $ this -> markTestSkipped () ;
29382938 }
29392939
29402940 $ buffer = fopen ('php://memory ' , 'w+ ' );
@@ -2980,7 +2980,7 @@ public function testOptionSet()
29802980 {
29812981 // Skip this test on 5.3, 5.4, and HHVM.
29822982 if (version_compare (PHP_VERSION , '5.5.0 ' , '< ' ) || defined ('HHVM_VERSION ' )) {
2983- return ;
2983+ $ this -> markTestSkipped () ;
29842984 }
29852985
29862986 $ option = CURLOPT_ENCODING ;
0 commit comments