<commit_before><?php declare(strict_types=1);
/**
 * This file is part of the PHP_CompatInfoDB package.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace Bartlett\CompatInfoDb\Presentation\Console\Command;

use Bartlett\CompatInfoDb\Presentation\Console\ApplicationInterface;

use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;

use function sprintf;

/**
 * Shows short information about this package.
 *
 * @since Release 3.20.0
 * @author <NAME>
 */
final class AboutCommand extends AbstractCommand implements CommandInterface
{
    public const NAME = 'about';

    /**
     * {@inheritDoc}
     */
    protected function configure(): void
    {
        $this->setName(self::NAME)
            ->setDescription('Shows short information about this package')
        ;
    }

    /**
     * {@inheritDoc}
     */
    protected function execute(InputInterface $input, OutputInterface $output): int
    {
        $io = new SymfonyStyle($input, $output);

        /** @var ApplicationInterface $app */
        $app = $this->getApplication();

        $lines = [
            sprintf(
                '<info>%s</info> version <comment>%s</comment>',
                $app->getName(),
                $app->getInstalledVersion()
            ),
            sprintf(
                '<comment>Please visit %s for more information.</comment>',
                'https://llaville.github.io/php-compatinfo-db/3.x/'
            ),
        ];
        $io->text($lines);

        return self::SUCCESS;
    }
}<commit_msg>fix online documentation link in about command<commit_after><?php declare(strict_types=1);
/**
 * This file is part of the PHP_CompatInfoDB package.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace Bartlett\CompatInfoDb\Presentation\Console\Command;

use Bartlett\CompatInfoDb\Presentation\Console\ApplicationInterface;

use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;

use function sprintf;

/**
 * Shows short information about this package.
 *
 * @since Release 3.20.0
 * @author <NAME>
 */
final class AboutCommand extends AbstractCommand implements CommandInterface
{
    public const NAME = 'about';

    /**
     * {@inheritDoc}
     */
    protected function configure(): void
    {
        $this->setName(self::NAME)
            ->setDescription('Shows short information about this package')
        ;
    }

    /**
     * {@inheritDoc}
     */
    protected function execute(InputInterface $input, OutputInterface $output): int
    {
        $io = new SymfonyStyle($input, $output);

        /** @var ApplicationInterface $app */
        $app = $this->getApplication();

        $lines = [
            sprintf(
                '<info>%s</info> version <comment>%s</comment>',
                $app->getName(),
                $app->getInstalledVersion()
            ),
            sprintf(
                '<comment>Please visit %s for more information.</comment>',
                'https://llaville.github.io/php-compatinfo-db/4.x/'
            ),
        ];
        $io->text($lines);

        return self::SUCCESS;
    }
}
{'fraction_non_alphanumeric': 0.12024397327911705, 'fraction_numerical': 0.0034853325588149867, 'mean_word_length': 2.510703363914373, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 29, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5318921', 'n_tokens_mistral': 921, 'n_tokens_neox': 913, 'n_words': 228}