Skip to content

Commit

Permalink
update phpo version
Browse files Browse the repository at this point in the history
  • Loading branch information
delboy1978uk committed Mar 21, 2024
1 parent dbe0fc1 commit 064e38b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
}
],
"require": {
"php": ">=7.3",
"php": "^8.2",
"delboy1978uk/barnacle": "^2.3",
"delboy1978uk/booty": "^1.0",
"symfony/console": "^5.2 || ^6.0",
"symfony/console": "^5.2 || ^6.0 || ^7.0",
"vlucas/phpdotenv": "^5.5"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions src/ConsoleApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class ConsoleApplication extends SymfonyConsoleApplication
{
public function getLongVersion()
public function getLongVersion(): string
{
return "
{} {}
Expand All @@ -20,4 +20,4 @@ public function getLongVersion()
";
}
}
}
5 changes: 1 addition & 4 deletions src/ConsolePackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@

class ConsolePackage implements RegistrationInterface
{
/**
* @param Container $c
*/
public function addToContainer(Container $c)
public function addToContainer(Container $c): void
{
$app = $c->has(ConsoleApplication::class) ? $c->get(ConsoleApplication::class) : new ConsoleApplication();
$consoleCommands = $c->get('consoleCommands');
Expand Down

0 comments on commit 064e38b

Please sign in to comment.