Skip to content

Commit

Permalink
restore deprecated properties
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Apr 30, 2024
1 parent 1b229a7 commit 00e5fcc
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions Command/DebugCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,24 @@
#[AsCommand(name: 'debug:dotenv', description: 'List all dotenv files with variables and values')]
final class DebugCommand extends Command
{
public function __construct(
private string $kernelEnvironment,
private string $projectDirectory,
) {
/**
* @deprecated since Symfony 6.1
*/
protected static $defaultName = 'debug:dotenv';

/**
* @deprecated since Symfony 6.1
*/
protected static $defaultDescription = 'List all dotenv files with variables and values';

private string $kernelEnvironment;
private string $projectDirectory;

public function __construct(string $kernelEnvironment, string $projectDirectory)
{
$this->kernelEnvironment = $kernelEnvironment;
$this->projectDirectory = $projectDirectory;

parent::__construct();
}

Expand Down

0 comments on commit 00e5fcc

Please sign in to comment.