Skip to content

Commit 2a80ca1

Browse files
committed
fix: fix php 8.2 deprecation warnings
1 parent 4cd6bca commit 2a80ca1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Command/Php/PhpInfoCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected function perform(InputInterface $input, OutputInterface $output)
5050
$result = $this->invokePhpCommand('--info', $environment);
5151

5252
$output->newLine();
53-
$output->write("${result['output']}");
53+
$output->write("{$result['output']}");
5454

5555
return $result['exitCode'];
5656
}

src/Command/Php/PhpVersionCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected function perform(InputInterface $input, OutputInterface $output)
5050
$result = $this->invokePhpCommand('--version', $environment);
5151

5252
$output->newLine();
53-
$output->write("${result['output']}");
53+
$output->write("{$result['output']}");
5454

5555
return $result['exitCode'];
5656
}

src/Command/WpCliCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected function perform(InputInterface $input, OutputInterface $output)
7373

7474
if (!$async) {
7575
$output->newLine();
76-
$output->write("${result['output']}");
76+
$output->write("{$result['output']}");
7777

7878
$exitCode = $result['exitCode'];
7979
}

0 commit comments

Comments
 (0)