Skip to content

Commit

Permalink
Ticket #173: prevent PHP 8.2 deprecation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
evs-xsarus committed Sep 8, 2023
1 parent f98985f commit 5ad1e76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Liip/RMT/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function asText($namespace = null, $raw = false)
if (in_array($name, array('list', 'help'))) {
continue;
}
$messages[] = sprintf(" <info>%-${width}s</info> %s", $name, $command->getDescription());
$messages[] = sprintf(" <info>%-{$width}s</info> %s", $name, $command->getDescription());
}
$messages[] = '';

Expand Down
4 changes: 4 additions & 0 deletions src/Liip/RMT/Config/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
*/
class Handler
{
protected $rawConfig;

protected $projectRoot;

public function __construct($rawConfig = null, $projectRoot = null)
{
$this->rawConfig = $rawConfig;
Expand Down

0 comments on commit 5ad1e76

Please sign in to comment.