summaryrefslogtreecommitdiffstats
path: root/opencensus-tests.patch
blob: fde59701ee2289590629b4ff93b5ef263aeab97c (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
28
29
30
31
32
33
34
35
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', []);