Skip to content

Commit

Permalink
Symfony 7.x support in Init Command
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-challis authored Jan 15, 2024
1 parent cc7b3a0 commit 824415d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/CLI/Command/Init.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

class Init extends Command
{
/** @var string|null */
public static $defaultName = 'init';

/** @var string|null */
public static $defaultDescription = <<< 'EOT'
Creates a new phparkitect.php file
Expand All @@ -25,6 +22,11 @@ class Init extends Command
You can customize the directory where the file is created specifying <comment>-d /dest/path</comment>
EOT;

public function __construct()
{
parent::__construct('init');
}

protected function configure(): void
{
$this
Expand Down

0 comments on commit 824415d

Please sign in to comment.