diff --git a/composer.json b/composer.json index 345882e..78b91e6 100644 --- a/composer.json +++ b/composer.json @@ -13,9 +13,9 @@ "bin": ["bin/license-checker"], "require": { "php": "^8.1", - "symfony/console": "^4.0 || ^5.0 || ^6.0", - "symfony/process": "^4.0 || ^5.0 || ^6.0", - "symfony/yaml": "^4.0 || ^5.0 || ^6.0" + "symfony/console": "^4.0 || ^5.0 || ^6.0 || ^7.0", + "symfony/process": "^4.0 || ^5.0 || ^6.0 || ^7.0", + "symfony/yaml": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "require-dev": { "phpunit/phpunit": "^10.1", diff --git a/src/Commands/CheckLicenses.php b/src/Commands/CheckLicenses.php index 36737a0..7ca34dd 100644 --- a/src/Commands/CheckLicenses.php +++ b/src/Commands/CheckLicenses.php @@ -27,7 +27,7 @@ public function __construct( private readonly DependencyTree $dependencyTree, private readonly TableRenderer $tableRenderer ) { - parent::__construct(); + parent::__construct(self::$defaultName); } protected function configure(): void diff --git a/src/Commands/CountUsedLicenses.php b/src/Commands/CountUsedLicenses.php index 7e02fff..bbe16e0 100644 --- a/src/Commands/CountUsedLicenses.php +++ b/src/Commands/CountUsedLicenses.php @@ -19,7 +19,7 @@ class CountUsedLicenses extends Command public function __construct( private readonly UsedLicensesParser $usedLicensesParser ) { - parent::__construct(); + parent::__construct(self::$defaultName); } protected function configure(): void diff --git a/src/Commands/GenerateConfig.php b/src/Commands/GenerateConfig.php index cba1354..1925f65 100644 --- a/src/Commands/GenerateConfig.php +++ b/src/Commands/GenerateConfig.php @@ -22,7 +22,7 @@ public function __construct( private readonly AllowedLicensesParser $allowedLicensesParser, private readonly UsedLicensesParser $usedLicensesParser ) { - parent::__construct(); + parent::__construct(self::$defaultName); } protected function configure(): void diff --git a/src/Commands/ListAllowedLicenses.php b/src/Commands/ListAllowedLicenses.php index 4161ea6..cc67009 100644 --- a/src/Commands/ListAllowedLicenses.php +++ b/src/Commands/ListAllowedLicenses.php @@ -18,7 +18,7 @@ class ListAllowedLicenses extends Command public function __construct( private readonly AllowedLicensesParser $allowedLicensesParser ) { - parent::__construct(); + parent::__construct(self::$defaultName); } protected function configure(): void diff --git a/src/Commands/ListUsedLicenses.php b/src/Commands/ListUsedLicenses.php index fb016af..28a68f3 100644 --- a/src/Commands/ListUsedLicenses.php +++ b/src/Commands/ListUsedLicenses.php @@ -19,7 +19,7 @@ class ListUsedLicenses extends Command public function __construct( private readonly UsedLicensesParser $usedLicensesParser ) { - parent::__construct(); + parent::__construct(self::$defaultName); } protected function configure(): void