Skip to content

Commit

Permalink
Merge pull request #47 from madewithlove/php-83
Browse files Browse the repository at this point in the history
PHP 8.3 support
  • Loading branch information
WouterSioen authored Mar 26, 2024
2 parents 9efa243 + ff3415e commit e106bd3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2' ]
php: [ '8.1', '8.2', '8.3' ]
prefer-lowest: [ '', '--prefer-lowest' ]
steps:
- uses: actions/checkout@master
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(self::$defaultName);
parent::__construct((string) 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(self::$defaultName);
parent::__construct((string) 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(self::$defaultName);
parent::__construct((string) 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(self::$defaultName);
parent::__construct((string) 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(self::$defaultName);
parent::__construct((string) self::$defaultName);
}

protected function configure(): void
Expand Down

0 comments on commit e106bd3

Please sign in to comment.