Skip to content

Commit

Permalink
Use sylius-labs/polyfill-symfony-security to account for removed Adva…
Browse files Browse the repository at this point in the history
…ncedUserInterface
  • Loading branch information
pamil committed Jan 21, 2021
1 parent 11303b6 commit 81178e9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"sylius-labs/association-hydrator": "^1.1.3",
"sylius-labs/doctrine-migrations-extra-bundle": "^0.1.3",
"sylius-labs/polyfill-symfony-event-dispatcher": "^1.0.1",
"sylius-labs/polyfill-symfony-security": "^1.0",
"sylius/fixtures-bundle": "^1.6.1",
"sylius/grid": "^1.8",
"sylius/grid-bundle": "^1.8",
Expand Down
1 change: 1 addition & 0 deletions config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,5 @@
SyliusLabs\DoctrineMigrationsExtraBundle\SyliusLabsDoctrineMigrationsExtraBundle::class => ['all' => true],
Sonata\Doctrine\Bridge\Symfony\SonataDoctrineSymfonyBundle::class => ['all' => true],
Sonata\Twig\Bridge\Symfony\SonataTwigSymfonyBundle::class => ['all' => true],
SyliusLabs\Polyfill\Symfony\Security\Bundle\SyliusLabsPolyfillSymfonySecurityBundle::class => ['all' => true],
];
2 changes: 1 addition & 1 deletion src/Sylius/Component/User/Model/UserInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
use Sylius\Component\Resource\Model\ResourceInterface;
use Sylius\Component\Resource\Model\TimestampableInterface;
use Sylius\Component\Resource\Model\ToggleableInterface;
use SyliusLabs\Polyfill\Symfony\Security\Core\User\AdvancedUserInterface;
use Symfony\Component\Security\Core\Encoder\EncoderAwareInterface;
use Symfony\Component\Security\Core\User\AdvancedUserInterface;

interface UserInterface extends
AdvancedUserInterface,
Expand Down
3 changes: 3 additions & 0 deletions symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,9 @@
"sylius-labs/polyfill-symfony-event-dispatcher": {
"version": "v1.0.0"
},
"sylius-labs/polyfill-symfony-security": {
"version": "v1.0.0"
},
"sylius-labs/sensio-distribution-bundle": {
"version": "v6.0.1"
},
Expand Down

0 comments on commit 81178e9

Please sign in to comment.