From 545a22ea626ff1eb5b8b5c098a61e06e9f01f8c8 Mon Sep 17 00:00:00 2001 From: Wojdylak Date: Fri, 26 Jul 2024 14:47:46 +0200 Subject: [PATCH] Refactor GUS info --- .../Console/Command/InformAboutGUSCommand.php | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/src/Sylius/Bundle/CoreBundle/Console/Command/InformAboutGUSCommand.php b/src/Sylius/Bundle/CoreBundle/Console/Command/InformAboutGUSCommand.php index f69795f26dc..dc5b4a48f55 100644 --- a/src/Sylius/Bundle/CoreBundle/Console/Command/InformAboutGUSCommand.php +++ b/src/Sylius/Bundle/CoreBundle/Console/Command/InformAboutGUSCommand.php @@ -31,22 +31,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int { $style = new SymfonyStyle($input, $output); - $style->note( - [ - 'For purely statistical purposes and in order to inform you about important updates and security patches, Sylius might send non-sensitive data to our servers. We send:', - '* Hostname', - '* User-agent', - '* Locale', - '* Environment (test, dev or prod)', - '* Currently used Sylius version', - '* Date of the last contact', - 'If you do not consent please follow this cookbook article:', - 'https://docs.sylius.com/en/latest/cookbook/configuration/disabling-admin-notifications.html', - 'That being said, every time we get a notification about a new site deployed with Sylius, it brings a huge smile to our faces and motivates us to continue our Open Source work.', - ], - ); - - return 0; + $style->info('To inform you about important updates and security patches, Sylius might send non-sensitive data(hostname, user-agent, locale, environment [prod/dev/test]), Sylius version, date of last contact) to our servers. An instruction on how to withdraw consent to this data collection is available in the Sylius documentation.'); + + return Command::SUCCESS; } }