SanderSander/composer-link

View on GitHub

Showing 1 of 1 total issue

Function execute has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Open

protected function execute(InputInterface $input, OutputInterface $output): int
{
/** @var bool $onlyInstalled */
$onlyInstalled = $input->getOption('only-installed');
$paths = $this->getPaths($input);
Severity: Minor
Found in src/Commands/LinkCommand.php - About 45 mins to fix
Severity
Category
Status
Source
Language