Whitelist hwi/oauth-bundle symbols

hwi/oauth-bundle is an optional dependency because its symbols
are used by Sylius\Bundle\CoreBundle\OAuth\UserProvider which in
turn is used only if configured.

IMHO this could be improved by extracting this feature in a
separate dependency,

See:
* https://docs.sylius.com/en/1.9/cookbook/shop/facebook-login.html
* https://github.com/Sylius/Sylius/pull/10664#discussion_r334418975
This commit is contained in:
Manuele Menozzi 2022-01-21 09:07:48 +01:00
parent d002e9a33f
commit 5d4765e483
2 changed files with 6 additions and 2 deletions

View file

@ -25,7 +25,10 @@
"Behat\\Testwork\\Suite\\Exception\\ParameterNotFoundException",
"Behat\\Testwork\\Tester\\Result\\TestResult",
"Behat\\Testwork\\Tester\\Setup\\Setup",
"Behat\\Testwork\\Tester\\Setup\\Teardown"
"Behat\\Testwork\\Tester\\Setup\\Teardown",
"HWI\\Bundle\\OAuthBundle\\Connect\\AccountConnectorInterface",
"HWI\\Bundle\\OAuthBundle\\OAuth\\Response\\UserResponseInterface",
"HWI\\Bundle\\OAuthBundle\\Security\\Core\\User\\OAuthAwareUserProviderInterface"
],
"php-core-extensions" : [
"Core",

View file

@ -231,7 +231,8 @@
"suggest": {
"ext-iconv": "For better performance than using Symfony Polyfill Component",
"ext-intl": "For better performance than using Symfony Polyfill Component",
"ext-mbstring": "For better performance than using Symfony Polyfill Component"
"ext-mbstring": "For better performance than using Symfony Polyfill Component",
"hwi/oauth-bundle": "If you want to use Facebook login (see https://docs.sylius.com/en/latest/cookbook/shop/facebook-login.html)"
},
"config": {
"preferred-install": {