Skip to content

Commit f7d6275

Browse files
committed
fix test for php 8.5
Deprecated: Increment on non-numeric string is deprecated, use str_increment() instead in /home/runner/work/opentelemetry-php-instrumentation/opentelemetry-php-instrumentation/ext/tests/multiple_hooks_modify_params.php
1 parent e0cbb57 commit f7d6275

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/tests/multiple_hooks_modify_params.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function helloWorld($a) {
1111
var_dump($a);
1212
}
1313

14-
helloWorld('a');
14+
helloWorld(1);
1515
?>
1616
--EXPECT--
17-
string(1) "c"
17+
int(3)

0 commit comments

Comments
 (0)