Skip to content

Commit

Permalink
Merge pull request #358 from tighten/tm/l11-support
Browse files Browse the repository at this point in the history
Bump symfony/process version (for Laravel 11)
  • Loading branch information
tonysm authored Mar 12, 2024
2 parents 8e70c8e + 9b94177 commit 1efca15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"php": ">=8.1",
"illuminate/view": "*",
"nikic/php-parser": "^4.15",
"symfony/console": "^6.1",
"symfony/process": "^6.1"
"symfony/console": "^6.1||^7.0",
"symfony/process": "^6.1||^7.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/FormatCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected function configure()
->setHelp('This command allows you to format a php/laravel file/directory.');
}

protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$fileOrDirectory = $this->resolveFileOrDirectory($input->getArgument('file or directory'));
$finalResponseCode = self::SUCCESS;
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/LintCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected function configure()
->setHelp('This command allows you to lint a php/laravel file/directory.');
}

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

0 comments on commit 1efca15

Please sign in to comment.