From bb164e6615364382a34fba9dcc59e88dbfd884e1 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 8 May 2020 12:36:19 +0200 Subject: [PATCH] [5.1] CS fixes --- .../Component/Messenger/Command/ConsumeMessagesCommand.php | 2 +- .../Security/Http/Authenticator/Passport/PassportTrait.php | 1 - src/Symfony/Component/String/Tests/FunctionsTest.php | 2 +- src/Symfony/Component/VarDumper/Caster/RdKafkaCaster.php | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Component/Messenger/Command/ConsumeMessagesCommand.php b/src/Symfony/Component/Messenger/Command/ConsumeMessagesCommand.php index 8dfcbe240f..1fac374096 100644 --- a/src/Symfony/Component/Messenger/Command/ConsumeMessagesCommand.php +++ b/src/Symfony/Component/Messenger/Command/ConsumeMessagesCommand.php @@ -84,7 +84,7 @@ To receive from multiple transports, pass each name: Use the --limit option to limit the number of messages received: php %command.full_name% --limit=10 - + Use the --failure-limit option to stop the worker when the given number of failed messages is reached: php %command.full_name% --failure-limit=2 diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportTrait.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportTrait.php index 1cdd75546b..f338c9f304 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportTrait.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportTrait.php @@ -12,7 +12,6 @@ namespace Symfony\Component\Security\Http\Authenticator\Passport; use Symfony\Component\Security\Core\Exception\BadCredentialsException; -use Symfony\Component\Security\Core\Exception\InvalidArgumentException; use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface; /** diff --git a/src/Symfony/Component/String/Tests/FunctionsTest.php b/src/Symfony/Component/String/Tests/FunctionsTest.php index ec1c6bb4c0..1f2776e889 100644 --- a/src/Symfony/Component/String/Tests/FunctionsTest.php +++ b/src/Symfony/Component/String/Tests/FunctionsTest.php @@ -14,8 +14,8 @@ namespace Symfony\Component\String\Tests; use PHPUnit\Framework\TestCase; use Symfony\Component\String\AbstractString; use Symfony\Component\String\ByteString; -use function Symfony\Component\String\s; use Symfony\Component\String\UnicodeString; +use function Symfony\Component\String\s; final class FunctionsTest extends TestCase { diff --git a/src/Symfony/Component/VarDumper/Caster/RdKafkaCaster.php b/src/Symfony/Component/VarDumper/Caster/RdKafkaCaster.php index bd3894ec11..c3e4eb9f34 100644 --- a/src/Symfony/Component/VarDumper/Caster/RdKafkaCaster.php +++ b/src/Symfony/Component/VarDumper/Caster/RdKafkaCaster.php @@ -11,7 +11,6 @@ namespace Symfony\Component\VarDumper\Caster; -use RdKafka; use RdKafka\Conf; use RdKafka\Exception as RdKafkaException; use RdKafka\KafkaConsumer;