FriendsOfShopware / FroshPlatformMailArchive

This plugin allows you to archive your mails.
MIT License
17 stars 13 forks source link

User Deprecated: Since symfony/http-foundation 5.3: "Symfony\Component\HttpFoundation\RequestStack::getMasterRequest()" is deprecated, use "getMainRequest()" instead. #23

Closed zolthan closed 2 years ago

zolthan commented 2 years ago

PHP Version

PHP 7.4.26

Shopware Version

v6.4.5.1

Actual behaviour

09:28:47 INFO      [php] User Deprecated: Since symfony/http-foundation 5.3: "Symfony\Component\HttpFoundation\RequestStack::getMasterRequest()" is deprecated, use "getMainRequest()" instead.
[
  "exception" => ErrorException {
    #message: "User Deprecated: Since symfony/http-foundation 5.3: "Symfony\Component\HttpFoundation\RequestStack::getMasterRequest()" is deprecated, use "getMainRequest()" instead."
    #code: 0
    #file: ".../www/vendor/symfony/http-foundation/RequestStack.php"
    #line: 92
    #severity: E_USER_DEPRECATED
    trace: {
      .../www/vendor/symfony/http-foundation/RequestStack.php:92 { …}
      .../www/vendor/store.shopware.com/froshplatformmailarchive/src/Services/MailSender.php:66 { …}
      .../www/vendor/store.shopware.com/froshplatformmailarchive/src/Services/MailSender.php:58 { …}
      .../www/vendor/store.shopware.com/froshplatformmailarchive/src/Services/MailSender.php:42 { …}
      .../www/vendor/shopware/platform/src/Core/Content/Mail/Service/MailService.php:218 { …}
...
      .../www/vendor/symfony/console/Command/Command.php:299 { …}
      .../www/vendor/symfony/console/Application.php:996 { …}
      .../www/vendor/symfony/framework-bundle/Console/Application.php:96 { …}
      .../www/vendor/symfony/console/Application.php:295 { …}
      .../www/vendor/symfony/framework-bundle/Console/Application.php:82 { …}
      .../www/vendor/symfony/console/Application.php:167 { …}
      .../www/bin/console:44 {
    › $application = new Application($kernel->getKernel());
        › $application->run($input);
        › 
      }
    }
  }
]

Expected behaviour

No deprecation warning

Steps to Reproduce?

Run bin/console command with -vvv