Skip to content

Commit

Permalink
minor Sylius#16638 Refactor GUS info (Wojdylak)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.13
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | N/A
| License         | MIT

![image](https://github.com/user-attachments/assets/6ecda25d-b4d3-4f93-bec5-d1f4094a8be0)

Commits
-------
  Refactor GUS info
  • Loading branch information
TheMilek authored Jul 29, 2024
2 parents ceb602e + 545a22e commit 8c9a2db
Showing 1 changed file with 3 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 8c9a2db

Please # to comment.