From 93fbe8dccec7b14c024259f83543bde4a95be298 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 29 Jan 2023 14:10:25 +0100 Subject: feat(PHP8.2): Fix deprecated string interpolation Signed-off-by: Florian Pritz --- application/third_party/test-more-php/Test-More-OO.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/third_party/test-more-php/Test-More-OO.php') diff --git a/application/third_party/test-more-php/Test-More-OO.php b/application/third_party/test-more-php/Test-More-OO.php index 7ce9f9421..6020288bd 100755 --- a/application/third_party/test-more-php/Test-More-OO.php +++ b/application/third_party/test-more-php/Test-More-OO.php @@ -215,7 +215,7 @@ class TestMore extends TestSimple { if ( is_int($this->NumberOfTests) ) { $unrun = $this->NumberOfTests - (int)$this->TestsRun; $plural = $unrun == 1 ? '' : 's'; - $unrunmsg = "# Looks like ${unrun} planned test${plural} never ran.\n"; + $unrunmsg = "# Looks like {$unrun} planned test{$plural} never ran.\n"; } $gasp = $this->LastFail . "\n" @@ -268,7 +268,7 @@ class TestMore extends TestSimple { $error = " Syntax check for '$module' failed"; } } else { - $error = " Cannot find ${type}d file '$module'"; + $error = " Cannot find {$type}d file '$module'"; } $pass = !$retval && $done; -- cgit v1.2.3-24-g4f1b