From 01ea041f9489d429252dd654e8a4161a2145234a Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 21 May 2023 11:07:21 +0200 Subject: [PATCH] fix PHP 8.2 ${var} string interpolation deprecation see also https://php.watch/versions/8.2/$%7Bvar%7D-string-interpolation-deprecated --- bin/administration | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bin/administration b/bin/administration index c55da835..7cc2f3ad 100755 --- a/bin/administration +++ b/bin/administration @@ -215,7 +215,7 @@ EOT, PHP_EOL; $counters['total'] < 1000 ? 4 : 10 ); - echo "Total:\t\t\t${counters['total']}", PHP_EOL; + echo "Total:\t\t\t{$counters['total']}", PHP_EOL; foreach ($ids as $pasteid) { $paste = $this->_store->read($pasteid); ++$counters['progress']; @@ -264,15 +264,15 @@ EOT, PHP_EOL; } echo PHP_EOL, << 0) { - echo "Unknown format:\t\t${counters['unknown']}", PHP_EOL; + echo "Unknown format:\t\t{$counters['unknown']}", PHP_EOL; } } @@ -315,4 +315,4 @@ EOT, PHP_EOL; } } -new Administration(); \ No newline at end of file +new Administration();