1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00

Add links to repo to fund/licenses/search commands and add links to docs to config command

This commit is contained in:
Jordi Boggiano 2022-01-05 14:16:08 +01:00
parent 06bb3c9179
commit f9d61c0665
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
7 changed files with 72 additions and 16 deletions

View file

@ -19,6 +19,7 @@ use Composer\Package\CompletePackageInterface;
use Composer\Pcre\Preg;
use Composer\Repository\CompositeRepository;
use Composer\Semver\Constraint\MatchAllConstraint;
use Symfony\Component\Console\Formatter\OutputFormatter;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
@ -116,7 +117,7 @@ class FundCommand extends BaseCommand
$prev = $line;
}
$io->write(sprintf(' %s', $url));
$io->write(sprintf(' <href=%s>%s</>', OutputFormatter::escape($url), $url));
}
}