summaryrefslogtreecommitdiffstats
path: root/application/third_party/test-more-php/Test-More-OO.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2023-01-29 14:10:25 +0100
committerFlorian Pritz <bluewind@xinu.at>2023-01-29 14:10:25 +0100
commit93fbe8dccec7b14c024259f83543bde4a95be298 (patch)
tree883786b47f0246ec6e0fb85b8b72af703cfaa152 /application/third_party/test-more-php/Test-More-OO.php
parentc88be04f0ec35304be812d7f5379c4362008b730 (diff)
feat(PHP8.2): Fix deprecated string interpolation
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/third_party/test-more-php/Test-More-OO.php')
-rwxr-xr-xapplication/third_party/test-more-php/Test-More-OO.php4
1 files changed, 2 insertions, 2 deletions
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;