Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
bytehead committed Nov 12, 2021
1 parent 509800c commit b579d28
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
1 change: 0 additions & 1 deletion core-bundle/tests/EventListener/SwitchUserListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
use Psr\Log\LoggerInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Security\Http\Event\SwitchUserEvent;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@

declare(strict_types=1);

/*
* This file is part of Contao.
*
* (c) Leo Feyer
*
* @license LGPL-3.0-or-later
*/

namespace Contao\CoreBundle\Fixtures\Security\User;

use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

/**
* Can't add methods to existing interface, see https://github.com/sebastianbergmann/phpunit/issues/4732
* Can't add methods to existing interface, see https://github.com/sebastianbergmann/phpunit/issues/4732.
*/
interface ForwardCompatibilityTokenInterface extends TokenInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@

declare(strict_types=1);

/*
* This file is part of Contao.
*
* (c) Leo Feyer
*
* @license LGPL-3.0-or-later
*/

namespace Contao\CoreBundle\Fixtures\Security\User;

use Symfony\Component\Security\Core\User\UserInterface;

/**
* Can't add methods to existing interface, see https://github.com/sebastianbergmann/phpunit/issues/4732
* Can't add methods to existing interface, see https://github.com/sebastianbergmann/phpunit/issues/4732.
*/
interface ForwardCompatibilityUserInterface extends UserInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@

declare(strict_types=1);

/*
* This file is part of Contao.
*
* (c) Leo Feyer
*
* @license LGPL-3.0-or-later
*/

namespace Contao\CoreBundle\Fixtures\Security\User;

use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Security\Core\User\UserProviderInterface;

/**
* Can't add methods to existing interface, see https://github.com/sebastianbergmann/phpunit/issues/4732
* Can't add methods to existing interface, see https://github.com/sebastianbergmann/phpunit/issues/4732.
*/
interface ForwardCompatibilityUserProviderInterface extends UserProviderInterface
{
Expand Down

0 comments on commit b579d28

Please sign in to comment.