8000 Fixed deprecated string syntax in Run command · Codeception/Codeception@ab7a6ea · GitHub
[go: up one dir, main page]

Skip to content

Commit ab7a6ea

Browse files
authored
Fixed deprecated string syntax in Run command
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
1 parent f59570c commit ab7a6ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Command/Run.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ public function execute(InputInterface $input, OutputInterface $output): int
419419

420420
if ($this->options['shard']) {
421421
$this->output->writeln(
422-
"[Shard ${userOptions['shard']}] <info>Running subset of tests</info>"
422+
"[Shard {$userOptions['shard']}] <info>Running subset of tests</info>"
423423
);
424424
}
425425

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

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

0 commit comments

Comments
 (0)
0