From b5c7a83dcab670a5ac6070ac3774a5d221fd5ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Wed, 24 Jun 2020 11:34:14 +0200 Subject: Remove unnecessary PHPDoc-alike blocks from tests Closes GH-5759 --- tests/output/flush_basic_001.phpt | 1 - tests/output/ob_clean_basic_001.phpt | 8 +------- tests/output/ob_end_clean_basic_001.phpt | 5 ++--- tests/output/ob_end_flush_basic_001.phpt | 10 ++-------- tests/output/ob_flush_basic_001.phpt | 8 +------- tests/output/ob_get_clean_basic_001.phpt | 1 - tests/output/ob_get_clean_basic_002.phpt | 1 - tests/output/ob_get_contents_basic_001.phpt | 7 ------- tests/output/ob_get_length_basic_001.phpt | 1 - tests/output/ob_get_level_basic_001.phpt | 8 +------- tests/output/ob_implicit_flush_basic_001.phpt | 6 ------ tests/output/ob_implicit_flush_basic_002.phpt | 6 ------ tests/output/ob_start_basic_001.phpt | 1 - tests/output/ob_start_basic_004.phpt | 1 - tests/output/ob_start_basic_005.phpt | 1 - tests/output/ob_start_basic_006.phpt | 27 +++++++++++++-------------- tests/output/ob_start_error_001.phpt | 5 ++--- tests/output/ob_start_error_002.phpt | 17 ++++++++--------- tests/output/ob_start_error_003.phpt | 3 +-- tests/output/ob_start_error_004.phpt | 3 +-- tests/output/ob_start_error_005.phpt | 3 +-- 21 files changed, 33 insertions(+), 90 deletions(-) (limited to 'tests') diff --git a/tests/output/flush_basic_001.phpt b/tests/output/flush_basic_001.phpt index fb1ce2c208..266cda1e24 100644 --- a/tests/output/flush_basic_001.phpt +++ b/tests/output/flush_basic_001.phpt @@ -3,7 +3,6 @@ Test basic functionality of flush() --FILE-- --EXPECTF-- -Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in %s on line 7 +Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in %s on line %d bool(false) bool(true) bool(true) -Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in %s on line 16 +Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in %s on line %d bool(false) diff --git a/tests/output/ob_end_flush_basic_001.phpt b/tests/output/ob_end_flush_basic_001.phpt index 00e70b3b92..1a2e7f63a3 100644 --- a/tests/output/ob_end_flush_basic_001.phpt +++ b/tests/output/ob_end_flush_basic_001.phpt @@ -2,12 +2,6 @@ Test ob_end_flush() function : basic functionality --FILE-- --FILE-- --EXPECTF-- - ---> Test arrays: +---> Test arrays: -Warning: ob_start(): array must have exactly two members in %s on line 44 +Warning: ob_start(): array must have exactly two members in %s on line %d -Notice: ob_start(): Failed to create buffer in %s on line 44 +Notice: ob_start(): Failed to create buffer in %s on line %d bool(false) Array ( ) -Warning: ob_start(): class 'f' not found in %s on line 47 +Warning: ob_start(): class 'f' not found in %s on line %d -Notice: ob_start(): Failed to create buffer in %s on line 47 +Notice: ob_start(): Failed to create buffer in %s on line %d bool(false) Array ( ) -Warning: ob_start(): array must have exactly two members in %s on line 50 +Warning: ob_start(): array must have exactly two members in %s on line %d -Notice: ob_start(): Failed to create buffer in %s on line 50 +Notice: ob_start(): Failed to create buffer in %s on line %d bool(false) Array ( ) -Warning: ob_start(): array must have exactly two members in %s on line 53 +Warning: ob_start(): array must have exactly two members in %s on line %d -Notice: ob_start(): Failed to create buffer in %s on line 53 +Notice: ob_start(): Failed to create buffer in %s on line %d bool(false) Array ( ) -Warning: ob_start(): array must have exactly two members in %s on line 56 +Warning: ob_start(): array must have exactly two members in %s on line %d -Notice: ob_start(): Failed to create buffer in %s on line 56 +Notice: ob_start(): Failed to create buffer in %s on line %d bool(false) Array ( @@ -126,9 +125,9 @@ Array ) -Warning: ob_start(): array must have exactly two members in %s on line 68 +Warning: ob_start(): array must have exactly two members in %s on line %d -Notice: ob_start(): Failed to create buffer in %s on line 68 +Notice: ob_start(): Failed to create buffer in %s on line %d bool(false) Array ( diff --git a/tests/output/ob_start_error_001.phpt b/tests/output/ob_start_error_001.phpt index 36efb124a7..98c348fe4a 100644 --- a/tests/output/ob_start_error_001.phpt +++ b/tests/output/ob_start_error_001.phpt @@ -3,7 +3,6 @@ Test wrong number of arguments and wrong arg types for ob_start() --FILE-- --EXPECTF-- -Warning: ob_start(): class 'nonExistent' not found in %s on line 13 +Warning: ob_start(): class 'nonExistent' not found in %s on line %d -Notice: ob_start(): Failed to create buffer in %s on line 13 +Notice: ob_start(): Failed to create buffer in %s on line %d bool(false) -Warning: ob_start(): class 'C' does not have a method 'nonExistent' in %s on line 14 +Warning: ob_start(): class 'C' does not have a method 'nonExistent' in %s on line %d -Notice: ob_start(): Failed to create buffer in %s on line 14 +Notice: ob_start(): Failed to create buffer in %s on line 13 bool(false) -Warning: ob_start(): class 'C' does not have a method 'no' in %s on line 15 +Warning: ob_start(): class 'C' does not have a method 'no' in %s on line %d -Notice: ob_start(): Failed to create buffer in %s on line 15 +Notice: ob_start(): Failed to create buffer in %s on line 14 bool(false) -Warning: ob_start(): function 'no' not found or invalid function name in %s on line 16 +Warning: ob_start(): function 'no' not found or invalid function name in %s on line %d -Notice: ob_start(): Failed to create buffer in %s on line 16 +Notice: ob_start(): Failed to create buffer in %s on line 15 bool(false) done diff --git a/tests/output/ob_start_error_003.phpt b/tests/output/ob_start_error_003.phpt index 30b030daf7..70e86e3728 100644 --- a/tests/output/ob_start_error_003.phpt +++ b/tests/output/ob_start_error_003.phpt @@ -3,7 +3,6 @@ Test ob_start() with object supplied but no method. --FILE-- --EXPECTF-- -Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in %s on line 9 +Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in %s on line %d -- cgit v1.2.1