8000 Remove unneeded use statements · symfony/symfony@88f6907 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 88f6907

Browse files
committed
Remove unneeded use statements
1 parent a93636e commit 88f6907

File tree

17 files changed

+2
-18
lines changed

17 files changed

+2
-18
lines changed

src/Symfony/Bridge/Doctrine/Tests/ArgumentResolver/EntityValueResolverTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,6 @@ private function createRegistry(?ObjectManager $manager = null): ManagerRegistry
422422
$registry->method('getManager')->willReturn($manager);
423423
}
424424

425-
426425
return $registry;
427426
}
428427
}

src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Doctrine\Common\Collections\ArrayCollection;
1515
use Doctrine\DBAL\Types\Type;
1616
use Doctrine\ORM\EntityRepository;
17-
use Doctrine\ORM\Mapping\ClassMetadataInfo;
1817
use Doctrine\ORM\Tools\SchemaTool;
1918
use Doctrine\Persistence\ManagerRegistry;
2019
use Doctrine\Persistence\ObjectManager;
@@ -28,7 +27,6 @@
2827
use Symfony\Bridge\Doctrine\Tests\Fixtures\DoubleNullableNameEntity;
2928
use Symfony\Bridge\Doctrine\Tests\Fixtures\Employee;
3029
use Symfony\Bridge\Doctrine\Tests\Fixtures\Person;
31-
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntityRepository;
3230
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity;
3331
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdNoToStringEntity;
3432
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdStringWrapperNameEntity;

src/Symfony/Bridge/Twig/Tests/Extension/CodeExtensionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ public function testFormatArgsIntegration()
116116
$this->assertEquals($expected, $this->render($template, $data));
117117
}
118118

119-
120119
public function testFormatFileIntegration()
121120
{
122121
$template = <<<'TWIG'

src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php

< A3E2 span class="sr-only">Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use Symfony\Component\Console\Input\InputArgument;
2020
use Symfony\Component\Console\Input\InputInterface;
2121
use Symfony\Component\Console\Input\InputOption;
22-
use Symfony\Component\Console\Output\ConsoleOutputInterface;
2322
use Symfony\Component\Console\Output\OutputInterface;
2423
use Symfony\Component\Console\Style\SymfonyStyle;
2524
use Symfony\Component\HttpKernel\KernelInterface;

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Doctrine\DBAL\Connection;
1515
use PHPUnit\Framework\TestCase;
16-
use Seld\JsonLint\JsonParser;
1716
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Configuration;
1817
use Symfony\Bundle\FullStack;
1918
use Symfony\Component\Cache\Adapter\DoctrineAdapter;

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCustomAuthenticatorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension;
1616
use Symfony\Bundle\SecurityBundle\Tests\DependencyInjection\Fixtures\Authenticator\CustomAuthenticator;
17-
use Symfony\Bundle\SecurityBundle\Tests\DependencyInjection\Fixtures\UserProvider\CustomProvider;
1817
use Symfony\Component\Config\FileLocator;
1918
use Symfony\Component\DependencyInjection\ContainerBuilder;
2019
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;

src/Symfony/Component/Form/Extension/Core/Type/TimeType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
namespace Symfony\Component\Form\Extension\Core\Type;
1313

1414
use Symfony\Component\Form\AbstractType;
15+
use Symfony\Component\Form\Event\PreSubmitEvent;
1516
use Symfony\Component\Form\Exception\InvalidConfigurationException;
1617
use Symfony\Component\Form\Exception\LogicException;
1718
use Symfony\Component\Form\Extension\Core\DataTransformer\DateTimeImmutableToDateTimeTransformer;
1819
use Symfony\Component\Form\Extension\Core\DataTransformer\DateTimeToArrayTransformer;
1920
use Symfony\Component\Form\Extension\Core\DataTransformer\DateTimeToStringTransformer;
2021
use Symfony\Component\Form\Extension\Core\DataTransformer\DateTimeToTimestampTransformer;
21-
use Symfony\Component\Form\Event\PreSubmitEvent;
2222
use Symfony\Component\Form\FormBuilderInterface;
2323
use Symfony\Component\Form\FormEvent;
2424
use Symfony\Component\Form\FormEvents;

src/Symfony/Component/HttpFoundation/Tests/RateLimiter/AbstractRequestRateLimiterTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\HttpFoundation\Request;
1616
use Symfony\Component\RateLimiter\LimiterInterface;
17-
use Symfony\Component\RateLimiter\Policy\NoLimiter;
1817
use Symfony\Component\RateLimiter\RateLimit;
1918

2019
class AbstractRequestRateLimiterTest extends TestCase

src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/AbstractProxyTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy;
1313

14-
use PHPUnit\Framework\MockObject\MockObject;
1514
use PHPUnit\Framework\TestCase;
1615
use Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy;
1716
use Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy;

src/Symfony/Component/Messenger/Tests/Middleware/DispatchAfterCurrentBusMiddlewareTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use PHPUnit\Framework\AssertionFailedError;
1515
use PHPUnit\Framework\Constraint\Callback;
16-
use PHPUnit\Framework\MockObject\Stub\ReturnCallback;
1716
use PHPUnit\Framework\TestCase;
1817
use Symfony\Component\Messenger\Envelope;
1918
use Symfony\Component\Messenger\Exception\DelayedMessageHandlingException;

0 commit comments

Comments
 (0)
0