Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 94ef21e

Browse files
committed
[Validator] Optimized use statements
1 parent 1622eb3 commit 94ef21e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+74
-100
lines changed

src/Symfony/Component/Validator/Constraint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14+
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
1415
use Symfony\Component\Validator\Exception\InvalidOptionsException;
1516
use Symfony\Component\Validator\Exception\MissingOptionsException;
16-
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
1717

1818
/**
1919
* Contains the properties of a constraint definition.

src/Symfony/Component/Validator/Constraints/CallbackValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
use Symfony\Component\Validator\Constraint;
1515
use Symfony\Component\Validator\ConstraintValidator;
16-
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
1716
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
17+
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
1818

1919
/**
2020
* Validator for Callback constraint

src/Symfony/Component/Validator/Constraints/ExpressionValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
namespace Symfony\Component\Validator\Constraints;
1313

14+
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
1415
use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
1516
use Symfony\Component\PropertyAccess\PropertyPath;
1617
use Symfony\Component\Validator\Constraint;
1718
use Symfony\Component\Validator\ConstraintValidator;
18-
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
1919
use Symfony\Component\Validator\Exception\RuntimeException;
2020
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
2121

src/Symfony/Component/Validator/Constraints/FileValidator.php

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

1212
namespace Symfony\Component\Validator\Constraints;
1313

14+
use Symfony\Component\HttpFoundation\File\File as FileObject;
15+
use Symfony\Component\HttpFoundation\File\UploadedFile;
1416
use Symfony\Component\Validator\Constraint;
1517
use Symfony\Component\Validator\ConstraintValidator;
1618
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
1719
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
18-
use Symfony\Component\HttpFoundation\File\File as FileObject;
19-
use Symfony\Component\HttpFoundation\File\UploadedFile;
2020

2121
/**
2222
* @author Bernhard Schussek <[email protected]>

src/Symfony/Component/Validator/Constraints/Ip.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Validator\Constraints;
1313

14-
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
1514
use Symfony\Component\Validator\Constraint;
15+
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
1616

1717
/**
1818
* Validates that a value is a valid IP address

src/Symfony/Component/Validator/Context/ExecutionContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
use Symfony\Component\Validator\ConstraintViolation;
1717
use Symfony\Component\Validator\ConstraintViolationList;
1818
use Symfony\Component\Validator\Exception\BadMethodCallException;
19-
use Symfony\Component\Validator\Group\GroupManagerInterface;
2019
use Symfony\Component\Validator\Mapping\MetadataInterface;
2120
use Symfony\Component\Validator\Mapping\PropertyMetadataInterface;
22-
use Symfony\Component\Validator\Node\Node;
2321
use Symfony\Component\Validator\Util\PropertyPath;
2422
use Symfony\Component\Validator\Validator\ValidatorInterface;
2523
use Symfony\Component\Validator\Violation\ConstraintViolationBuilder;

src/Symfony/Component/Validator/Context/ExecutionContextFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\Validator\Context;
1313

1414
use Symfony\Component\Translation\TranslatorInterface;
15-
use Symfony\Component\Validator\Group\GroupManagerInterface;
1615
use Symfony\Component\Validator\Validator\ValidatorInterface;
1716

1817
/**

src/Symfony/Component/Validator/Context/ExecutionContextInterface.php

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

1414
use Symfony\Component\Validator\ExecutionContextInterface as LegacyExecutionContextInterface;
1515
use Symfony\Component\Validator\Mapping\MetadataInterface;
16-
use Symfony\Component\Validator\Node\Node;
1716
use Symfony\Component\Validator\Validator\ValidatorInterface;
1817
use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface;
1918

src/Symfony/Component/Validator/Context/LegacyExecutionContext.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@
1212
namespace Symfony\Component\Validator\Context;
1313

1414
use Symfony\Component\Translation\TranslatorInterface;
15-
use Symfony\Component\Validator\Constraints\Traverse;
1615
use Symfony\Component\Validator\Constraints\Valid;
17-
use Symfony\Component\Validator\Exception\InvalidArgumentException;
18-
use Symfony\Component\Validator\Group\GroupManagerInterface;
1916
use Symfony\Component\Validator\MetadataFactoryInterface;
2017
use Symfony\Component\Validator\Validator\ValidatorInterface;
21-
use Symfony\Component\Validator\ValidatorInterface as LegacyValidatorInterface;
2218

2319
/**
2420
* An execution context that is compatible with the legacy API (< 2.5).

src/Symfony/Component/Validator/Context/LegacyExecutionContextFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\Validator\Context;
1313

1414
use Symfony\Component\Translation\TranslatorInterface;
15-
use Symfony\Component\Validator\Group\GroupManagerInterface;
1615
use Symfony\Component\Validator\MetadataFactoryInterface;
1716
use Symfony\Component\Validator\Validator\ValidatorInterface;
1817

src/Symfony/Component/Validator/DefaultTranslator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14+
use Symfony\Component\Translation\TranslatorInterface;
1415
use Symfony\Component\Validator\Exception\BadMethodCallException;
1516
use Symfony\Component\Validator\Exception\InvalidArgumentException;
16-
use Symfony\Component\Translation\TranslatorInterface;
1717

1818
/**
1919
* Simple translator implementation that simply replaces the parameters in

src/Symfony/Component/Validator/Mapping/Cache/DoctrineCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Validator\Mapping\Cache;
1313

14-
use Symfony\Component\Validator\Mapping\ClassMetadata;
1514
use Doctrine\Common\Cache\Cache;
15+
use Symfony\Component\Validator\Mapping\ClassMetadata;
1616

1717
/**
1818
* Adapts a Doctrine cache to a CacheInterface.

src/Symfony/Component/Validator/Mapping/ClassMetadata.php

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

1212
namespace Symfony\Component\Validator\Mapping;
1313

14+
use Symfony\Component\Validator\Constraint;
1415
use Symfony\Component\Validator\Constraints\GroupSequence;
1516
use Symfony\Component\Validator\Constraints\Traverse;
1617
use Symfony\Component\Validator\Constraints\Valid;
17-
use Symfony\Component\Validator\ValidationVisitorInterface;
18-
use Symfony\Component\Validator\PropertyMetadataContainerInterface;
19-
use Symfony\Component\Validator\MetadataInterface as LegacyMetadataInterface;
20-
use Symfony\Component\Validator\Constraint;
2118
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
2219
use Symfony\Component\Validator\Exception\GroupDefinitionException;
20+
use Symfony\Component\Validator\MetadataInterface as LegacyMetadataInterface;
21+
use Symfony\Component\Validator\PropertyMetadataContainerInterface;
22+
use Symfony\Component\Validator\ValidationVisitorInterface;
2323

2424
/**
2525
* Default implementation of {@link ClassMetadataInterface}.

src/Symfony/Component/Validator/Mapping/ClassMetadataFactory.php

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

1212
namespace Symfony\Component\Validator\Mapping;
1313

14-
use Symfony\Component\Validator\MetadataFactoryInterface;
1514
use Symfony\Component\Validator\Exception\NoSuchMetadataException;
16-
use Symfony\Component\Validator\Mapping\Loader\LoaderInterface;
1715
use Symfony\Component\Validator\Mapping\Cache\CacheInterface;
16+
use Symfony\Component\Validator\Mapping\Loader\LoaderInterface;
17+
use Symfony\Component\Validator\MetadataFactoryInterface;
1818

1919
/**
2020
* Creates new {@link ClassMetadataInterface} instances.

src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
namespace Symfony\Component\Validator\Mapping;
1313

1414
use Symfony\Component\Validator\ClassBasedInterface;
15-
use Symfony\Component\Validator\PropertyMetadataContainerInterface as LegacyPropertyMetadataContainerInterface;;
15+
use Symfony\Component\Validator\PropertyMetadataContainerInterface as LegacyPropertyMetadataContainerInterface;
16+
17+
;
1618

1719
/**
1820
* Stores all metadata needed for validating objects of specific class.

src/Symfony/Component/Validator/Mapping/Loader/AbstractLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Validator\Mapping\Loader;
1313

14-
use Symfony\Component\Validator\Exception\MappingException;
1514
use Symfony\Component\Validator\Constraint;
15+
use Symfony\Component\Validator\Exception\MappingException;
1616

1717
abstract class AbstractLoader implements LoaderInterface
1818
{

src/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
namespace Symfony\Component\Validator\Mapping\Loader;
1313

1414
use Doctrine\Common\Annotations\Reader;
15+
use Symfony\Component\Validator\Constraint;
1516
use Symfony\Component\Validator\Constraints\Callback;
16-
use Symfony\Component\Validator\Exception\MappingException;
17-
use Symfony\Component\Validator\Mapping\ClassMetadata;
1817
use Symfony\Component\Validator\Constraints\GroupSequence;
1918
use Symfony\Component\Validator\Constraints\GroupSequenceProvider;
20-
use Symfony\Component\Validator\Constraint;
19+
use Symfony\Component\Validator\Exception\MappingException;
20+
use Symfony\Component\Validator\Mapping\ClassMetadata;
2121

2222
class AnnotationLoader implements LoaderInterface
2323
{

src/Symfony/Component/Validator/Mapping/Loader/XmlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Validator\Mapping\Loader;
1313

14+
use Symfony\Component\Config\Util\XmlUtils;
1415
use Symfony\Component\Validator\Exception\MappingException;
1516
use Symfony\Component\Validator\Mapping\ClassMetadata;
16-
use Symfony\Component\Config\Util\XmlUtils;
1717

1818
class XmlFileLoader extends FileLoader
1919
{

src/Symfony/Component/Validator/Mapping/MemberMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Validator\Mapping;
1313

14-
use Symfony\Component\Validator\ValidationVisitorInterface;
1514
use Symfony\Component\Validator\Constraint;
1615
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
16+
use Symfony\Component\Validator\ValidationVisitorInterface;
1717

1818
/**
1919
* Stores all metadata needed for validating a class property.

src/Symfony/Component/Validator/Tests/Constraints/AllValidatorTest.php

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

1212
namespace Symfony\Component\Validator\Tests\Constraints;
1313

14-
use Symfony\Component\Validator\ExecutionContext;
15-
use Symfony\Component\Validator\Constraints\Range;
16-
use Symfony\Component\Validator\Constraints\NotNull;
1714
use Symfony\Component\Validator\Constraints\All;
1815
use Symfony\Component\Validator\Constraints\AllValidator;
16+
use Symfony\Component\Validator\Constraints\NotNull;
17+
use Symfony\Component\Validator\Constraints\Range;
1918

2019
class AllValidatorTest extends \PHPUnit_Framework_TestCase
2120
{

src/Symfony/Component/Validator/Tests/Constraints/CallbackValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
namespace Symfony\Component\Validator\Tests\Constraints;
1313

1414
use Symfony\Component\Validator\Constraint;
15-
use Symfony\Component\Validator\ExecutionContext;
1615
use Symfony\Component\Validator\Constraints\Callback;
1716
use Symfony\Component\Validator\Constraints\CallbackValidator;
17+
use Symfony\Component\Validator\ExecutionContext;
1818

1919
class CallbackValidatorTest_Class
2020
{

src/Symfony/Component/Validator/Tests/Constraints/CollectionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
namespace Symfony\Component\Validator\Tests\Constraints;
1313

1414
use Symfony\Component\Validator\Constraints\Collection;
15-
use Symfony\Component\Validator\Constraints\Required;
16-
use Symfony\Component\Validator\Constraints\Optional;
1715
use Symfony\Component\Validator\Constraints\Email;
16+
use Symfony\Component\Validator\Constraints\Optional;
17+
use Symfony\Component\Validator\Constraints\Required;
1818
use Symfony\Component\Validator\Constraints\Valid;
1919

2020
/**

src/Symfony/Component/Validator/Tests/Constraints/CollectionValidatorTest.php

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

1212
namespace Symfony\Component\Validator\Tests\Constraints;
1313

14-
use Symfony\Component\Validator\Constraints\Range;
15-
use Symfony\Component\Validator\Constraints\NotNull;
16-
use Symfony\Component\Validator\Constraints\Required;
17-
use Symfony\Component\Validator\Constraints\Optional;
1814
use Symfony\Component\Validator\Constraints\Collection;
1915
use Symfony\Component\Validator\Constraints\CollectionValidator;
16+
use Symfony\Component\Validator\Constraints\NotNull;
17+
use Symfony\Component\Validator\Constraints\Optional;
18+
use Symfony\Component\Validator\Constraints\Range;
19+
use Symfony\Component\Validator\Constraints\Required;
2020

2121
abstract class CollectionValidatorTest extends \PHPUnit_Framework_TestCase
2222
{

src/Symfony/Component/Validator/Tests/Constraints/FileValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Validator\Tests\Constraints;
1313

14+
use Symfony\Component\HttpFoundation\File\UploadedFile;
1415
use Symfony\Component\Validator\Constraints\File;
1516
use Symfony\Component\Validator\Constraints\FileValidator;
16-
use Symfony\Component\HttpFoundation\File\UploadedFile;
1717

1818
abstract class FileValidatorTest extends \PHPUnit_Framework_TestCase
1919
{

src/Symfony/Component/Validator/Tests/ExecutionContextTest.php

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

1212
namespace Symfony\Component\Validator\Tests;
1313

14+
use Symfony\Component\Validator\Constraints\Collection;
15+
use Symfony\Component\Validator\ConstraintValidatorFactory;
1416
use Symfony\Component\Validator\ConstraintViolation;
1517
use Symfony\Component\Validator\ConstraintViolationList;
1618
use Symfony\Component\Validator\ExecutionContext;
17-
use Symfony\Component\Validator\Constraints\Collection;
1819
use Symfony\Component\Validator\Tests\Fixtures\ConstraintA;
1920
use Symfony\Component\Validator\ValidationVisitor;
20-
use Symfony\Component\Validator\ConstraintValidatorFactory;
2121

2222
class ExecutionContextTest extends \PHPUnit_Framework_TestCase
2323
{

src/Symfony/Component/Validator/Tests/Fixtures/FakeMetadataFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\Validator\Tests\Fixtures;
1313

1414
use Symfony\Component\Validator\Exception\NoSuchMetadataException;
15-
use Symfony\Component\Validator\Mapping\ClassMetadata;
1615
use Symfony\Component\Validator\MetadataFactoryInterface;
1716
use Symfony\Component\Validator\MetadataInterface;
1817

src/Symfony/Component/Validator/Tests/Mapping/Cache/DoctrineCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Validator\Tests\Mapping\Cache;
1313

14-
use Symfony\Component\Validator\Mapping\Cache\DoctrineCache;
1514
use Doctrine\Common\Cache\ArrayCache;
15+
use Symfony\Component\Validator\Mapping\Cache\DoctrineCache;
1616

1717
class DoctrineCacheTest extends \PHPUnit_Framework_TestCase
1818
{

src/Symfony/Component/Validator/Tests/Mapping/ClassMetadataFactoryTest.php

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

1212
namespace Symfony\Component\Validator\Tests\Mapping;
1313

14-
use Symfony\Component\Validator\Tests\Fixtures\Entity;
15-
use Symfony\Component\Validator\Tests\Fixtures\ConstraintA;
16-
use Symfony\Component\Validator\Mapping\ClassMetadataFactory;
1714
use Symfony\Component\Validator\Mapping\ClassMetadata;
15+
use Symfony\Component\Validator\Mapping\ClassMetadataFactory;
1816
use Symfony\Component\Validator\Mapping\Loader\LoaderInterface;
17+
use Symfony\Component\Validator\Tests\Fixtures\ConstraintA;
1918

2019
class ClassMetadataFactoryTest extends \PHPUnit_Framework_TestCase
2120
{

src/Symfony/Component/Validator/Tests/Mapping/ClassMetadataTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
use Symfony\Component\Validator\Constraint;
1515
use Symfony\Component\Validator\Constraints\Valid;
1616
use Symfony\Component\Validator\Mapping\ClassMetadata;
17-
use Symfony\Component\Validator\Exception\GroupDefinitionException;
18-
use Symfony\Component\Validator\Tests\Fixtures\Entity;
1917
use Symfony\Component\Validator\Tests\Fixtures\ConstraintA;
2018
use Symfony\Component\Validator\Tests\Fixtures\ConstraintB;
2119
use Symfony\Component\Validator\Tests\Fixtures\PropertyConstraint;

src/Symfony/Component/Validator/Tests/Mapping/ElementMetadataTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Validator\Tests\Mapping;
1313

14+
use Symfony\Component\Validator\Mapping\ElementMetadata;
1415
use Symfony\Component\Validator\Tests\Fixtures\ConstraintA;
1516
use Symfony\Component\Validator\Tests\Fixtures\ConstraintB;
16-
use Symfony\Component\Validator\Mapping\ElementMetadata;
1717

1818
class ElementMetadataTest extends \PHPUnit_Framework_TestCase
1919
{

src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
use Doctrine\Common\Annotations\AnnotationReader;
1515
use Symfony\Component\Validator\Constraints\All;
1616
use Symfony\Component\Validator\Constraints\Callback;
17+
use Symfony\Component\Validator\Constraints\Choice;
1718
use Symfony\Component\Validator\Constraints\Collection;
1819
use Symfony\Component\Validator\Constraints\NotNull;
1920
use Symfony\Component\Validator\Constraints\Range;
20-
use Symfony\Component\Validator\Constraints\Choice;
2121
use Symfony\Component\Validator\Constraints\True;
2222
use Symfony\Component\Validator\Mapping\ClassMetadata;
2323
use Symfony\Component\Validator\Mapping\Loader\AnnotationLoader;

src/Symfony/Component/Validator/Tests/Mapping/Loader/FilesLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Validator\Tests\Mapping\Loader;
1313

14-
use Symfony\Component\Validator\Mapping\Loader\LoaderInterface;
1514
use Symfony\Component\Validator\Mapping\ClassMetadata;
15+
use Symfony\Component\Validator\Mapping\Loader\LoaderInterface;
1616

1717
class FilesLoaderTest extends \PHPUnit_Framework_TestCase
1818
{

src/Symfony/Component/Validator/Tests/Mapping/Loader/XmlFileLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
use Symfony\Component\Validator\Constraints\All;
1515
use Symfony\Component\Validator\Constraints\Callback;
16+
use Symfony\Component\Validator\Constraints\Choice;
1617
use Symfony\Component\Validator\Constraints\Collection;
1718
use Symfony\Component\Validator\Constraints\NotNull;
1819
use Symfony\Component\Validator\Constraints\Range;
19-
use Symfony\Component\Validator\Constraints\Choice;
2020
use Symfony\Component\Validator\Constraints\Regex;
2121
use Symfony\Component\Validator\Constraints\True;
2222
use Symfony\Component\Validator\Mapping\ClassMetadata;

src/Symfony/Component/Validator/Tests/Mapping/Loader/YamlFileLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
use Symfony\Component\Validator\Constraints\All;
1515
use Symfony\Component\Validator\Constraints\Callback;
16+
use Symfony\Component\Validator\Constraints\Choice;
1617
use Symfony\Component\Validator\Constraints\Collection;
1718
use Symfony\Component\Validator\Constraints\NotNull;
1819
use Symfony\Component\Validator\Constraints\Range;
19-
use Symfony\Component\Validator\Constraints\Choice;
2020
use Symfony\Component\Validator\Constraints\True;
2121
use Symfony\Component\Validator\Mapping\ClassMetadata;
2222
use Symfony\Component\Validator\Mapping\Loader\YamlFileLoader;

0 commit comments

Comments
 (0)