Skip to content

Commit

Permalink
Fixed deprecated string syntax in Run command
Browse files Browse the repository at this point in the history
Fix deprecated 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
  • Loading branch information
shtiher-pp committed Dec 25, 2022
1 parent f59570c commit ab7a6ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Codeception/Command/Run.php
Expand Up @@ -419,7 +419,7 @@ public function execute(InputInterface $input, OutputInterface $output): int

if ($this->options['shard']) {
$this->output->writeln(
"[Shard ${userOptions['shard']}] <info>Running subset of tests</info>"
"[Shard {$userOptions['shard']}] <info>Running subset of tests</info>"
);
}

Expand Down Expand Up @@ -502,7 +502,7 @@ public function execute(InputInterface $input, OutputInterface $output): int

if ($this->options['shard']) {
$this->output->writeln(
"[Shard ${userOptions['shard']}] <info>Merge this result with other shards to see the complete report</info>"
"[Shard {$userOptions['shard']}] <info>Merge this result with other shards to see the complete report</info>"
);
}

Expand Down

0 comments on commit ab7a6ea

Please sign in to comment.