Skip to content

Commit 40aa105

Browse files
More test fixes
1 parent 198a391 commit 40aa105

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

Zend/tests/concat/bug79836.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ ob_end_clean();
1515
echo $counter . "\n";
1616
?>
1717
--EXPECTF--
18-
Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
18+
Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
1919

20-
Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
20+
Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
2121

22-
Deprecated: ob_end_clean(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
22+
Deprecated: ob_end_clean(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
2323
3

Zend/tests/concat/bug79836_1.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ob_end_clean();
1515
echo "Done\n";
1616
?>
1717
--EXPECTF--
18-
Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
18+
Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
1919

20-
Deprecated: ob_end_clean(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
20+
Deprecated: ob_end_clean(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
2121
Done

Zend/tests/concat/bug79836_2.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ob_end_clean();
2222
echo $x . "\n";
2323
?>
2424
--EXPECTF--
25-
Deprecated: X::__toString(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
25+
Deprecated: X::__toString(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
2626

27-
Deprecated: ob_end_clean(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
27+
Deprecated: ob_end_clean(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
2828
abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabc

Zend/tests/declare/gh18033_2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ ob_start(function() {
1414
});
1515
?>
1616
--EXPECTF--
17-
Deprecated: PHP Request Shutdown: Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
17+
Deprecated: PHP Request Shutdown: Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d

Zend/tests/gh11189.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ while (1) {
2929
?>
3030
--EXPECTF--
3131
Success
32-
Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
32+
Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
3333

3434
Fatal error: Allowed memory size of %s bytes exhausted%s(tried to allocate %s bytes) in %s on line %d

Zend/tests/gh11189_1.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ while (1) {
2929
?>
3030
--EXPECTF--
3131
Success
32-
Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
32+
Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
3333

3434
Fatal error: Allowed memory size of %s bytes exhausted%s(tried to allocate %s bytes) in %s on line %d

Zend/tests/gh16408.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ ob_end_clean();
1313
echo $counter . "\n";
1414
?>
1515
--EXPECTF--
16-
Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
16+
Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
1717

18-
Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
18+
Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
1919

20-
Deprecated: ob_end_clean(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
20+
Deprecated: ob_end_clean(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
2121
3

sapi/cli/tests/gh8827-002.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ var_dump(@fopen('php://stdout', 'a'));
3535
--EXPECTF--
3636
STDIN:
3737

38-
Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
38+
Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
3939
bool(false)
4040

41-
Deprecated: var_dump(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
41+
Deprecated: var_dump(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
4242
STDERR:
4343

44-
Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
44+
Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
4545
bool(false)
4646

47-
Deprecated: var_dump(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
47+
Deprecated: var_dump(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
4848
STDOUT:
4949

50-
Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
50+
Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
5151
bool(false)

0 commit comments

Comments
 (0)