blob: e5bd23052e4ae760b8b1d7535b2a14f4c39ebd64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From 3953640bf49ac099f383d2aa26da5bf1910561c8 Mon Sep 17 00:00:00 2001
From: Brett McBride <brett.a.mcbride@gmail.com>
Date: Mon, 25 Aug 2025 22:49:36 +1000
Subject: [PATCH] fix test for php 8.5 (#194)
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
---
ext/tests/multiple_hooks_modify_params.phpt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ext/tests/multiple_hooks_modify_params.phpt b/ext/tests/multiple_hooks_modify_params.phpt
index 136ebe5..90e92f9 100644
--- a/ext/tests/multiple_hooks_modify_params.phpt
+++ b/ext/tests/multiple_hooks_modify_params.phpt
@@ -11,7 +11,7 @@ function helloWorld($a) {
var_dump($a);
}
-helloWorld('a');
+helloWorld(1);
?>
--EXPECT--
-string(1) "c"
+int(3)
--
2.51.0
|