Skip to content

Commit f06b94a

Browse files
authored
Merge pull request #139 from KDederichs/feat/sf8_compat
feat: symfony > 7 compat
2 parents 22890ab + 3d8a1da commit f06b94a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"composer-runtime-api": "^1.0 || ^2.0",
1111
"loophp/phposinfo": "^1.6 || ^1.7",
1212
"seld/jsonlint": "^1.7.1",
13-
"symfony/console": "<7.0",
13+
"symfony/console": "^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
1414
"vaimo/topological-sort": "^1.0 || ^2.0"
1515
},
1616
"require-dev": {

src/Composer/Commands/ListCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ protected function configure()
110110
*
111111
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
112112
*/
113-
protected function execute(InputInterface $input, OutputInterface $output)
113+
protected function execute(InputInterface $input, OutputInterface $output): int
114114
{
115115
$composer = $this->getComposer();
116116

src/Composer/Commands/PatchCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected function configure()
115115
* @return int|void|null
116116
* @throws \Exception
117117
*/
118-
protected function execute(InputInterface $input, OutputInterface $output)
118+
protected function execute(InputInterface $input, OutputInterface $output): int
119119
{
120120
$composer = $this->getComposer();
121121

src/Composer/Commands/ValidateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected function configure()
4646
);
4747
}
4848

49-
protected function execute(InputInterface $input, OutputInterface $output)
49+
protected function execute(InputInterface $input, OutputInterface $output): int
5050
{
5151
$output->writeln('<info>Scanning packages for orphan patches</info>');
5252

0 commit comments

Comments
 (0)