From fe365d4c134c365b1eb320fa09371dc4b5c900a3 Mon Sep 17 00:00:00 2001 From: Rodion Kachkin Date: Wed, 15 May 2024 17:39:44 +0400 Subject: [PATCH] Fix compatibility error for php8.3 syntax (#95) * Fix compatibility error for php83 syntax: change ${variable} to {$variable} * Add php8.3 to CI --------- Co-authored-by: Rodion Kachkin --- .github/workflows/grumphp.yml | 2 +- Console/UpdateStatus.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/grumphp.yml b/.github/workflows/grumphp.yml index 0530056..3b88047 100644 --- a/.github/workflows/grumphp.yml +++ b/.github/workflows/grumphp.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['7.4', '8.1'] + php-versions: ['7.4', '8.1', '8.3'] steps: - uses: actions/checkout@v2 diff --git a/Console/UpdateStatus.php b/Console/UpdateStatus.php index 0569502..dc2909f 100644 --- a/Console/UpdateStatus.php +++ b/Console/UpdateStatus.php @@ -109,7 +109,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $uuids = $this->transactionHelper->getWaitUuidsByStore($store->getId()); foreach ($uuids as $uuid) { - $output->writeln("${i} Updating {$uuid} ..."); + $output->writeln("{$i} Updating {$uuid} ..."); $this->updateOne($output, $uuid); $i++; }