Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symfony v7 support #46

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/CheckLicenses.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/CountUsedLicenses.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/GenerateConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/ListAllowedLicenses.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/ListUsedLicenses.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down