From 177bbc6d69632b231d9c99e9eec8140f759e47b9 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev <98802205+shtiher-pp@users.noreply.github.com> Date: Mon, 19 Dec 2022 12:55:38 +0300 Subject: [PATCH] Update Run.php Fix depricated messages when running tests: Deprecated: Using ${var} in strings is deprecated, use {$var} instead in ../vendor/codeception/codeception/src/Codeception/Command/Run.php on line 422 Deprecated: Using ${var} in strings is deprecated, use {$var} instead in ../vendor/codeception/codeception/src/Codeception/Command/Run.php on line 505 --- src/Codeception/Command/Run.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Codeception/Command/Run.php b/src/Codeception/Command/Run.php index d9da81d6d6..161451552d 100644 --- a/src/Codeception/Command/Run.php +++ b/src/Codeception/Command/Run.php @@ -419,7 +419,7 @@ public function execute(InputInterface $input, OutputInterface $output): int if ($this->options['shard']) { $this->output->writeln( - "[Shard ${userOptions['shard']}] Running subset of tests" + "[Shard {$userOptions['shard']}] Running subset of tests" ); } @@ -502,7 +502,7 @@ public function execute(InputInterface $input, OutputInterface $output): int if ($this->options['shard']) { $this->output->writeln( - "[Shard ${userOptions['shard']}] Merge this result with other shards to see the complete report" + "[Shard {$userOptions['shard']}] Merge this result with other shards to see the complete report" ); }