diff options
Diffstat (limited to '0001-fix-test-for-php-8.5-194.patch')
-rw-r--r-- | 0001-fix-test-for-php-8.5-194.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/0001-fix-test-for-php-8.5-194.patch b/0001-fix-test-for-php-8.5-194.patch new file mode 100644 index 0000000..e5bd230 --- /dev/null +++ b/0001-fix-test-for-php-8.5-194.patch @@ -0,0 +1,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 + |