Skip to content

Commit 1efca15

Browse files
authored
Merge pull request #358 from tighten/tm/l11-support
Bump symfony/process version (for Laravel 11)
2 parents 8e70c8e + 9b94177 commit 1efca15

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"php": ">=8.1",
1515
"illuminate/view": "*",
1616
"nikic/php-parser": "^4.15",
17-
"symfony/console": "^6.1",
18-
"symfony/process": "^6.1"
17+
"symfony/console": "^6.1||^7.0",
18+
"symfony/process": "^6.1||^7.0"
1919
},
2020
"require-dev": {
2121
"phpunit/phpunit": "^9.6",

src/Commands/FormatCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected function configure()
4444
->setHelp('This command allows you to format a php/laravel file/directory.');
4545
}
4646

47-
protected function execute(InputInterface $input, OutputInterface $output)
47+
protected function execute(InputInterface $input, OutputInterface $output): int
4848
{
4949
$fileOrDirectory = $this->resolveFileOrDirectory($input->getArgument('file or directory'));
5050
$finalResponseCode = self::SUCCESS;

src/Commands/LintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function configure()
5252
->setHelp('This command allows you to lint a php/laravel file/directory.');
5353
}
5454

55-
protected function execute(InputInterface $input, OutputInterface $output)
55+
protected function execute(InputInterface $input, OutputInterface $output): int
5656
{
5757
$fileOrDirectory = $this->resolveFileOrDirectory($input->getArgument('file or directory'));
5858
$finalResponseCode = self::NO_LINTS_FOUND_OR_SUCCESS;

0 commit comments

Comments
 (0)