Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcd27b9d

Browse files
committed
Add missing use statements
1 parent45f5564 commitcd27b9d

File tree

8 files changed

+11
-3
lines changed

8 files changed

+11
-3
lines changed

‎src/Symfony/Bundle/SecurityBundle/Debug/WrappedListener.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespaceSymfony\Bundle\SecurityBundle\Debug;
1313

1414
useSymfony\Component\HttpKernel\Event\RequestEvent;
15+
useSymfony\Component\Security\Http\Firewall\AbstractListener;
1516
useSymfony\Component\Security\Http\Firewall\ListenerInterface;
1617

1718
/**

‎src/Symfony/Component/Cache/Simple/TraceableCache.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespaceSymfony\Component\Cache\Simple;
1313

1414
usePsr\SimpleCache\CacheInterfaceasPsr16CacheInterface;
15+
useSymfony\Component\Cache\Adapter\TraceableAdapter;
1516
useSymfony\Component\Cache\PruneableInterface;
1617
useSymfony\Component\Cache\ResettableInterface;
1718
useSymfony\Contracts\Cache\CacheInterface;

‎src/Symfony/Component/HttpFoundation/Session/Storage/Handler/SessionHandlerFactory.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static function createHandler($connection): AbstractSessionHandler
5454
case0 ===strpos($connection,'rediss:'):
5555
case0 ===strpos($connection,'memcached:'):
5656
if (!class_exists(AbstractAdapter::class)) {
57-
thrownewInvalidArgumentException(sprintf('Unsupported DSN "%s". Try running "composer require symfony/cache".',$connection));
57+
thrownew\InvalidArgumentException(sprintf('Unsupported DSN "%s". Try running "composer require symfony/cache".',$connection));
5858
}
5959
$handlerClass =0 ===strpos($connection,'memcached:') ? MemcachedSessionHandler::class : RedisSessionHandler::class;
6060
$connection = AbstractAdapter::createConnection($connection, ['lazy' =>true]);

‎src/Symfony/Component/Mime/Test/Constraint/EmailAttachmentCount.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespaceSymfony\Component\Mime\Test\Constraint;
1313

1414
usePHPUnit\Framework\Constraint\Constraint;
15+
useSymfony\Component\Mime\Message;
1516
useSymfony\Component\Mime\RawMessage;
1617

1718
finalclass EmailAttachmentCountextends Constraint

‎src/Symfony/Component/Mime/Test/Constraint/EmailHtmlBodyContains.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
namespaceSymfony\Component\Mime\Test\Constraint;
1313

1414
usePHPUnit\Framework\Constraint\Constraint;
15+
useSymfony\Component\Mime\Message;
16+
useSymfony\Component\Mime\RawMessage;
1517

1618
finalclass EmailHtmlBodyContainsextends Constraint
1719
{

‎src/Symfony/Component/Mime/Test/Constraint/EmailTextBodyContains.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
namespaceSymfony\Component\Mime\Test\Constraint;
1313

1414
usePHPUnit\Framework\Constraint\Constraint;
15+
useSymfony\Component\Mime\Message;
16+
useSymfony\Component\Mime\RawMessage;
1517

1618
finalclass EmailTextBodyContainsextends Constraint
1719
{

‎src/Symfony/Component/Security/Core/User/LdapUserProvider.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
namespaceSymfony\Component\Security\Core\User;
1313

14-
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "%s" instead.', LdapUserProvider::class, BaseLdapUserProvider::class),E_USER_DEPRECATED);
15-
1614
useSymfony\Component\Ldap\Entry;
1715
useSymfony\Component\Ldap\Security\LdapUserProviderasBaseLdapUserProvider;
1816
useSymfony\Component\Security\Core\Exception\UnsupportedUserException;
1917

18+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "%s" instead.', LdapUserProvider::class, BaseLdapUserProvider::class),E_USER_DEPRECATED);
19+
2020
/**
2121
* LdapUserProvider is a simple user provider on top of ldap.
2222
*

‎src/Symfony/Component/Security/Http/Firewall.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
useSymfony\Component\HttpKernel\Event\GetResponseEvent;
1818
useSymfony\Component\HttpKernel\Event\RequestEvent;
1919
useSymfony\Component\HttpKernel\KernelEvents;
20+
useSymfony\Component\Security\Http\Firewall\AbstractListener;
2021
useSymfony\Component\Security\Http\Firewall\AccessListener;
2122
useSymfony\Component\Security\Http\Firewall\LogoutListener;
2223

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp