summaryrefslogtreecommitdiffstats
path: root/opencensus-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'opencensus-tests.patch')
-rw-r--r--opencensus-tests.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/opencensus-tests.patch b/opencensus-tests.patch
new file mode 100644
index 0000000..fde5970
--- /dev/null
+++ b/opencensus-tests.patch
@@ -0,0 +1,36 @@
+From 294a85ebe3f183680ae0f8ad18f122afad588127 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Tue, 13 Sep 2022 09:18:32 +0200
+Subject: [PATCH] fix 8.2 deprecation
+
+---
+ ext/tests/basic_context.phpt | 2 +-
+ ext/tests/inherit_context.phpt | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/ext/tests/basic_context.phpt b/ext/tests/basic_context.phpt
+index 8f162aa26..832103e50 100644
+--- a/ext/tests/basic_context.phpt
++++ b/ext/tests/basic_context.phpt
+@@ -4,7 +4,7 @@ OpenCensus Trace: Basic Context Test
+ <?php
+
+ $res = opencensus_trace_set_context('traceid', 1234);
+-echo "Set context: ${res}\n";
++echo "Set context: {$res}\n";
+
+ $context = opencensus_trace_context();
+ $class = get_class($context);
+diff --git a/ext/tests/inherit_context.phpt b/ext/tests/inherit_context.phpt
+index be3965f42..4728a592f 100644
+--- a/ext/tests/inherit_context.phpt
++++ b/ext/tests/inherit_context.phpt
+@@ -4,7 +4,7 @@ OpenCensus Trace: Root inherits from context
+ <?php
+
+ $res = opencensus_trace_set_context('traceid', 1234);
+-echo "Set context: ${res}\n";
++echo "Set context: {$res}\n";
+
+ opencensus_trace_begin('root', []);
+ opencensus_trace_begin('inner', []);