stecman / symfony-console-completion

Automatic tab-key completion for Symfony console application options, arguments and parameters
MIT License
420 stars 26 forks source link

Symfony 6.3 release encountering PHP Fatal error: Declaration of return type in CompletionCommand #95

Closed apathak18 closed 1 year ago

apathak18 commented 1 year ago

PHP Fatal error: Declaration of Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand::mergeApplicationDefinition($mergeArgs = true) must be compatible with Symfony\Component\Console\Command\Command::mergeApplicationDefinition(bool $mergeArgs = true): void in /Users/ankit.pathak/Documents/Projects/FeatureRepo/acquia-cms-starterkit/vendor/stecman/symfony-console-completion/src/CompletionCommand.php on line 54

Fatal error: Declaration of Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand::mergeApplicationDefinition($mergeArgs = true) must be compatible with Symfony\Component\Console\Command\Command::mergeApplicationDefinition(bool $mergeArgs = true): void in /Users/ankit.pathak/Documents/Projects/FeatureRepo/acquia-cms-starterkit/vendor/stecman/symfony-console-completion/src/CompletionCommand.php on line 54

stecman commented 1 year ago

Fixed by #94 - thanks @rajeshreeputra.

Released in v0.12.1