Skip to content

Commit 94ef18f

Browse files
Support Symfony 7 (#95)
* Support Symfony 7 * Add return types * Fix styling
1 parent bf026e7 commit 94ef18f

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"php": "^8.1",
88
"guzzlehttp/guzzle": "^6.5.5|^7.0.1",
99
"laravel/prompts": "^0.1.3|^0.2.0|^0.3.0",
10-
"symfony/console": "^4.0|^5.0|^6.0",
11-
"symfony/process": "^4.2|^5.0|^6.0"
10+
"symfony/console": "^4.0|^5.0|^6.0|^7.0",
11+
"symfony/process": "^4.2|^5.0|^6.0|^7.0"
1212
},
1313
"require-dev": {
1414
"phpunit/phpunit": "^8.0"

src/NewCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,8 @@ protected function interact(InputInterface $input, OutputInterface $output)
123123

124124
/**
125125
* Execute the command.
126-
*
127-
* @return int
128126
*/
129-
protected function execute(InputInterface $input, OutputInterface $output)
127+
protected function execute(InputInterface $input, OutputInterface $output): int
130128
{
131129
try {
132130
$this

src/UpdateCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ protected function configure()
2929

3030
/**
3131
* Execute the command.
32-
*
33-
* @return int
3432
*/
35-
protected function execute(InputInterface $input, OutputInterface $output)
33+
protected function execute(InputInterface $input, OutputInterface $output): int
3634
{
3735
$this->input = $input;
3836
$this->output = $output;

src/VersionCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ protected function configure()
2222

2323
/**
2424
* Execute the command.
25-
*
26-
* @return int
2725
*/
28-
protected function execute(InputInterface $input, OutputInterface $output)
26+
protected function execute(InputInterface $input, OutputInterface $output): int
2927
{
3028
$please = new Please($output);
3129

0 commit comments

Comments
 (0)