Remove unused imports
This commit is contained in:
parent
753811f73e
commit
b8028f6053
@ -12,7 +12,6 @@
|
|||||||
namespace Symfony\Bridge\Twig\Extension;
|
namespace Symfony\Bridge\Twig\Extension;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\RequestStack;
|
use Symfony\Component\HttpFoundation\RequestStack;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Twig extension for the Symfony HttpFoundation component.
|
* Twig extension for the Symfony HttpFoundation component.
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
namespace Symfony\Bridge\Twig\Tests\Extension;
|
namespace Symfony\Bridge\Twig\Tests\Extension;
|
||||||
|
|
||||||
use Symfony\Bridge\Twig\Extension\ExpressionExtension;
|
use Symfony\Bridge\Twig\Extension\ExpressionExtension;
|
||||||
use Symfony\Component\ExpressionLanguage\Expression;
|
|
||||||
|
|
||||||
class ExpressionExtensionTest extends \PHPUnit_Framework_TestCase
|
class ExpressionExtensionTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Command;
|
namespace Symfony\Bundle\FrameworkBundle\Command;
|
||||||
|
|
||||||
use Symfony\Component\Console\Helper\Table;
|
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Bundle\FrameworkBundle\Controller;
|
|||||||
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
|
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
|
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||||
use Symfony\Component\HttpFoundation\StreamedResponse;
|
use Symfony\Component\HttpFoundation\StreamedResponse;
|
||||||
@ -25,7 +24,6 @@ use Symfony\Component\Form\Extension\Core\Type\FormType;
|
|||||||
use Symfony\Component\Form\Form;
|
use Symfony\Component\Form\Form;
|
||||||
use Symfony\Component\Form\FormBuilder;
|
use Symfony\Component\Form\FormBuilder;
|
||||||
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||||
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
|
||||||
use Doctrine\Bundle\DoctrineBundle\Registry;
|
use Doctrine\Bundle\DoctrineBundle\Registry;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -18,7 +18,6 @@ use Symfony\Component\DependencyInjection\DefinitionDecorator;
|
|||||||
use Symfony\Component\DependencyInjection\Loader\ClosureLoader;
|
use Symfony\Component\DependencyInjection\Loader\ClosureLoader;
|
||||||
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
||||||
use Symfony\Component\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
abstract class FrameworkExtensionTest extends TestCase
|
abstract class FrameworkExtensionTest extends TestCase
|
||||||
{
|
{
|
||||||
|
@ -14,14 +14,12 @@ namespace Symfony\Bundle\SecurityBundle\DependencyInjection;
|
|||||||
use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface;
|
use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface;
|
||||||
use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\UserProvider\UserProviderFactoryInterface;
|
use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\UserProvider\UserProviderFactoryInterface;
|
||||||
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
|
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
|
||||||
use Symfony\Component\DependencyInjection\Definition;
|
|
||||||
use Symfony\Component\DependencyInjection\DefinitionDecorator;
|
use Symfony\Component\DependencyInjection\DefinitionDecorator;
|
||||||
use Symfony\Component\DependencyInjection\Alias;
|
use Symfony\Component\DependencyInjection\Alias;
|
||||||
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
||||||
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
use Symfony\Component\DependencyInjection\Parameter;
|
|
||||||
use Symfony\Component\Config\FileLocator;
|
use Symfony\Component\Config\FileLocator;
|
||||||
use Symfony\Component\Security\Core\Authorization\ExpressionLanguage;
|
use Symfony\Component\Security\Core\Authorization\ExpressionLanguage;
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\DependencyInjection\Compiler;
|
namespace Symfony\Component\DependencyInjection\Compiler;
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
||||||
use Symfony\Component\DependencyInjection\Definition;
|
use Symfony\Component\DependencyInjection\Definition;
|
||||||
use Symfony\Component\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
@ -15,7 +15,6 @@ use Symfony\Component\DependencyInjection\Definition;
|
|||||||
use Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException;
|
use Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException;
|
||||||
use Symfony\Component\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
use Symfony\Component\DependencyInjection\Parameter;
|
use Symfony\Component\DependencyInjection\Parameter;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
namespace Symfony\Component\DependencyInjection\Tests\Compiler;
|
namespace Symfony\Component\DependencyInjection\Tests\Compiler;
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\Compiler\CheckDefinitionValidityPass;
|
use Symfony\Component\DependencyInjection\Compiler\CheckDefinitionValidityPass;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
|
||||||
class CheckDefinitionValidityPassTest extends \PHPUnit_Framework_TestCase
|
class CheckDefinitionValidityPassTest extends \PHPUnit_Framework_TestCase
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
namespace Symfony\Component\DependencyInjection\Tests\Compiler;
|
namespace Symfony\Component\DependencyInjection\Tests\Compiler;
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\Compiler\CheckReferenceValidityPass;
|
use Symfony\Component\DependencyInjection\Compiler\CheckReferenceValidityPass;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
||||||
use Symfony\Component\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\DependencyInjection\Tests\Compiler;
|
namespace Symfony\Component\DependencyInjection\Tests\Compiler;
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
||||||
use Symfony\Component\DependencyInjection\DefinitionDecorator;
|
use Symfony\Component\DependencyInjection\DefinitionDecorator;
|
||||||
use Symfony\Component\DependencyInjection\Compiler\ResolveDefinitionTemplatesPass;
|
use Symfony\Component\DependencyInjection\Compiler\ResolveDefinitionTemplatesPass;
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
namespace Symfony\Component\DependencyInjection\Tests;
|
namespace Symfony\Component\DependencyInjection\Tests;
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\Definition;
|
use Symfony\Component\DependencyInjection\Definition;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
||||||
|
|
||||||
class DefinitionTest extends \PHPUnit_Framework_TestCase
|
class DefinitionTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\DependencyInjection\Definition;
|
|
||||||
|
|
||||||
$container = new ContainerBuilder();
|
$container = new ContainerBuilder();
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@ use Symfony\Component\Form\Extension\Csrf\EventListener\CsrfValidationListener;
|
|||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use Symfony\Component\Form\FormView;
|
use Symfony\Component\Form\FormView;
|
||||||
use Symfony\Component\Form\FormInterface;
|
use Symfony\Component\Form\FormInterface;
|
||||||
use Symfony\Component\OptionsResolver\Options;
|
|
||||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||||
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
|
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
|
||||||
use Symfony\Component\Translation\TranslatorInterface;
|
use Symfony\Component\Translation\TranslatorInterface;
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
|
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
|
||||||
|
|
||||||
use Symfony\Component\Form\Form;
|
|
||||||
use Symfony\Component\Form\Tests\Fixtures\Author;
|
use Symfony\Component\Form\Tests\Fixtures\Author;
|
||||||
|
|
||||||
class CollectionTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
|
class CollectionTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\HttpKernel\Fragment;
|
namespace Symfony\Component\HttpKernel\Fragment;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpFoundation\StreamedResponse;
|
use Symfony\Component\HttpFoundation\StreamedResponse;
|
||||||
use Symfony\Component\HttpFoundation\RequestStack;
|
use Symfony\Component\HttpFoundation\RequestStack;
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\HttpKernel\Tests\EventListener;
|
namespace Symfony\Component\HttpKernel\Tests\EventListener;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\RequestStack;
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpKernel\EventListener\LocaleListener;
|
use Symfony\Component\HttpKernel\EventListener\LocaleListener;
|
||||||
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\HttpKernel\Tests\EventListener;
|
namespace Symfony\Component\HttpKernel\Tests\EventListener;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\RequestStack;
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpKernel\EventListener\RouterListener;
|
use Symfony\Component\HttpKernel\EventListener\RouterListener;
|
||||||
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
namespace Symfony\Component\Intl\Tests\Data\Bundle\Reader;
|
namespace Symfony\Component\Intl\Tests\Data\Bundle\Reader;
|
||||||
|
|
||||||
use Symfony\Component\Intl\Data\Bundle\Reader\IntlBundleReader;
|
use Symfony\Component\Intl\Data\Bundle\Reader\IntlBundleReader;
|
||||||
use Symfony\Component\Intl\Intl;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Intl\Tests\Data\Bundle\Writer;
|
|||||||
|
|
||||||
use Symfony\Component\Filesystem\Filesystem;
|
use Symfony\Component\Filesystem\Filesystem;
|
||||||
use Symfony\Component\Intl\Data\Bundle\Writer\JsonBundleWriter;
|
use Symfony\Component\Intl\Data\Bundle\Writer\JsonBundleWriter;
|
||||||
use Symfony\Component\Intl\Intl;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Intl\Tests\Data\Bundle\Writer;
|
|||||||
|
|
||||||
use Symfony\Component\Filesystem\Filesystem;
|
use Symfony\Component\Filesystem\Filesystem;
|
||||||
use Symfony\Component\Intl\Data\Bundle\Writer\PhpBundleWriter;
|
use Symfony\Component\Intl\Data\Bundle\Writer\PhpBundleWriter;
|
||||||
use Symfony\Component\Intl\Intl;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
|
@ -15,7 +15,6 @@ use Symfony\Component\PropertyInfo\PropertyAccessExtractorInterface;
|
|||||||
use Symfony\Component\PropertyInfo\PropertyDescriptionExtractorInterface;
|
use Symfony\Component\PropertyInfo\PropertyDescriptionExtractorInterface;
|
||||||
use Symfony\Component\PropertyInfo\PropertyListExtractorInterface;
|
use Symfony\Component\PropertyInfo\PropertyListExtractorInterface;
|
||||||
use Symfony\Component\PropertyInfo\PropertyTypeExtractorInterface;
|
use Symfony\Component\PropertyInfo\PropertyTypeExtractorInterface;
|
||||||
use Symfony\Component\PropertyInfo\Type;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Not able to guess anything.
|
* Not able to guess anything.
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
namespace Symfony\Component\Security\Guard\Provider;
|
namespace Symfony\Component\Security\Guard\Provider;
|
||||||
|
|
||||||
use Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface;
|
use Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface;
|
||||||
use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
|
|
||||||
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
|
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
|
||||||
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
|
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
|
||||||
use Symfony\Component\Security\Guard\GuardAuthenticatorInterface;
|
use Symfony\Component\Security\Guard\GuardAuthenticatorInterface;
|
||||||
|
@ -14,8 +14,6 @@ namespace Symfony\Component\Validator\Mapping\Factory;
|
|||||||
use Symfony\Component\Validator\Exception\NoSuchMetadataException;
|
use Symfony\Component\Validator\Exception\NoSuchMetadataException;
|
||||||
use Symfony\Component\Validator\Mapping\Cache\CacheInterface;
|
use Symfony\Component\Validator\Mapping\Cache\CacheInterface;
|
||||||
use Symfony\Component\Validator\Mapping\ClassMetadata;
|
use Symfony\Component\Validator\Mapping\ClassMetadata;
|
||||||
use Symfony\Component\Validator\Mapping\ClassMetadataInterface;
|
|
||||||
use Symfony\Component\Validator\Mapping\Loader\LoaderChain;
|
|
||||||
use Symfony\Component\Validator\Mapping\Loader\LoaderInterface;
|
use Symfony\Component\Validator\Mapping\Loader\LoaderInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -19,7 +19,6 @@ use Symfony\Component\Validator\Context\ExecutionContext;
|
|||||||
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
||||||
use Symfony\Component\Validator\Mapping\ClassMetadata;
|
use Symfony\Component\Validator\Mapping\ClassMetadata;
|
||||||
use Symfony\Component\Validator\Mapping\PropertyMetadata;
|
use Symfony\Component\Validator\Mapping\PropertyMetadata;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.5.3
|
* @since 2.5.3
|
||||||
|
@ -15,7 +15,6 @@ use Symfony\Component\Validator\Constraints\All;
|
|||||||
use Symfony\Component\Validator\Constraints\AllValidator;
|
use Symfony\Component\Validator\Constraints\AllValidator;
|
||||||
use Symfony\Component\Validator\Constraints\NotNull;
|
use Symfony\Component\Validator\Constraints\NotNull;
|
||||||
use Symfony\Component\Validator\Constraints\Range;
|
use Symfony\Component\Validator\Constraints\Range;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class AllValidatorTest extends AbstractConstraintValidatorTest
|
class AllValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Blank;
|
use Symfony\Component\Validator\Constraints\Blank;
|
||||||
use Symfony\Component\Validator\Constraints\BlankValidator;
|
use Symfony\Component\Validator\Constraints\BlankValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class BlankValidatorTest extends AbstractConstraintValidatorTest
|
class BlankValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,6 @@ use Symfony\Component\Validator\Constraint;
|
|||||||
use Symfony\Component\Validator\Constraints\Callback;
|
use Symfony\Component\Validator\Constraints\Callback;
|
||||||
use Symfony\Component\Validator\Constraints\CallbackValidator;
|
use Symfony\Component\Validator\Constraints\CallbackValidator;
|
||||||
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class CallbackValidatorTest_Class
|
class CallbackValidatorTest_Class
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\CardScheme;
|
use Symfony\Component\Validator\Constraints\CardScheme;
|
||||||
use Symfony\Component\Validator\Constraints\CardSchemeValidator;
|
use Symfony\Component\Validator\Constraints\CardSchemeValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class CardSchemeValidatorTest extends AbstractConstraintValidatorTest
|
class CardSchemeValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Choice;
|
use Symfony\Component\Validator\Constraints\Choice;
|
||||||
use Symfony\Component\Validator\Constraints\ChoiceValidator;
|
use Symfony\Component\Validator\Constraints\ChoiceValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
function choice_callback()
|
function choice_callback()
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,6 @@ use Symfony\Component\Validator\Constraints\NotNull;
|
|||||||
use Symfony\Component\Validator\Constraints\Optional;
|
use Symfony\Component\Validator\Constraints\Optional;
|
||||||
use Symfony\Component\Validator\Constraints\Range;
|
use Symfony\Component\Validator\Constraints\Range;
|
||||||
use Symfony\Component\Validator\Constraints\Required;
|
use Symfony\Component\Validator\Constraints\Required;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
abstract class CollectionValidatorTest extends AbstractConstraintValidatorTest
|
abstract class CollectionValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Count;
|
use Symfony\Component\Validator\Constraints\Count;
|
||||||
use Symfony\Component\Validator\Constraints\CountValidator;
|
use Symfony\Component\Validator\Constraints\CountValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
|
@ -14,7 +14,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
use Symfony\Component\Intl\Util\IntlTestHelper;
|
use Symfony\Component\Intl\Util\IntlTestHelper;
|
||||||
use Symfony\Component\Validator\Constraints\Country;
|
use Symfony\Component\Validator\Constraints\Country;
|
||||||
use Symfony\Component\Validator\Constraints\CountryValidator;
|
use Symfony\Component\Validator\Constraints\CountryValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class CountryValidatorTest extends AbstractConstraintValidatorTest
|
class CountryValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
use Symfony\Component\Intl\Util\IntlTestHelper;
|
use Symfony\Component\Intl\Util\IntlTestHelper;
|
||||||
use Symfony\Component\Validator\Constraints\Currency;
|
use Symfony\Component\Validator\Constraints\Currency;
|
||||||
use Symfony\Component\Validator\Constraints\CurrencyValidator;
|
use Symfony\Component\Validator\Constraints\CurrencyValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class CurrencyValidatorTest extends AbstractConstraintValidatorTest
|
class CurrencyValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\DateTime;
|
use Symfony\Component\Validator\Constraints\DateTime;
|
||||||
use Symfony\Component\Validator\Constraints\DateTimeValidator;
|
use Symfony\Component\Validator\Constraints\DateTimeValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class DateTimeValidatorTest extends AbstractConstraintValidatorTest
|
class DateTimeValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Date;
|
use Symfony\Component\Validator\Constraints\Date;
|
||||||
use Symfony\Component\Validator\Constraints\DateValidator;
|
use Symfony\Component\Validator\Constraints\DateValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class DateValidatorTest extends AbstractConstraintValidatorTest
|
class DateValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Email;
|
use Symfony\Component\Validator\Constraints\Email;
|
||||||
use Symfony\Component\Validator\Constraints\EmailValidator;
|
use Symfony\Component\Validator\Constraints\EmailValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class EmailValidatorTest extends AbstractConstraintValidatorTest
|
class EmailValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\EqualTo;
|
use Symfony\Component\Validator\Constraints\EqualTo;
|
||||||
use Symfony\Component\Validator\Constraints\EqualToValidator;
|
use Symfony\Component\Validator\Constraints\EqualToValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Daniel Holmes <daniel@danielholmes.org>
|
* @author Daniel Holmes <daniel@danielholmes.org>
|
||||||
|
@ -15,7 +15,6 @@ use Symfony\Component\PropertyAccess\PropertyAccess;
|
|||||||
use Symfony\Component\Validator\Constraints\Expression;
|
use Symfony\Component\Validator\Constraints\Expression;
|
||||||
use Symfony\Component\Validator\Constraints\ExpressionValidator;
|
use Symfony\Component\Validator\Constraints\ExpressionValidator;
|
||||||
use Symfony\Component\Validator\Tests\Fixtures\Entity;
|
use Symfony\Component\Validator\Tests\Fixtures\Entity;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class ExpressionValidatorTest extends AbstractConstraintValidatorTest
|
class ExpressionValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
||||||
use Symfony\Component\Validator\Constraints\File;
|
use Symfony\Component\Validator\Constraints\File;
|
||||||
use Symfony\Component\Validator\Constraints\FileValidator;
|
use Symfony\Component\Validator\Constraints\FileValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
abstract class FileValidatorTest extends AbstractConstraintValidatorTest
|
abstract class FileValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\GreaterThanOrEqual;
|
use Symfony\Component\Validator\Constraints\GreaterThanOrEqual;
|
||||||
use Symfony\Component\Validator\Constraints\GreaterThanOrEqualValidator;
|
use Symfony\Component\Validator\Constraints\GreaterThanOrEqualValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Daniel Holmes <daniel@danielholmes.org>
|
* @author Daniel Holmes <daniel@danielholmes.org>
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\GreaterThan;
|
use Symfony\Component\Validator\Constraints\GreaterThan;
|
||||||
use Symfony\Component\Validator\Constraints\GreaterThanValidator;
|
use Symfony\Component\Validator\Constraints\GreaterThanValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Daniel Holmes <daniel@danielholmes.org>
|
* @author Daniel Holmes <daniel@danielholmes.org>
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Iban;
|
use Symfony\Component\Validator\Constraints\Iban;
|
||||||
use Symfony\Component\Validator\Constraints\IbanValidator;
|
use Symfony\Component\Validator\Constraints\IbanValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class IbanValidatorTest extends AbstractConstraintValidatorTest
|
class IbanValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\IdenticalTo;
|
use Symfony\Component\Validator\Constraints\IdenticalTo;
|
||||||
use Symfony\Component\Validator\Constraints\IdenticalToValidator;
|
use Symfony\Component\Validator\Constraints\IdenticalToValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Daniel Holmes <daniel@danielholmes.org>
|
* @author Daniel Holmes <daniel@danielholmes.org>
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Image;
|
use Symfony\Component\Validator\Constraints\Image;
|
||||||
use Symfony\Component\Validator\Constraints\ImageValidator;
|
use Symfony\Component\Validator\Constraints\ImageValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @requires extension fileinfo
|
* @requires extension fileinfo
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Ip;
|
use Symfony\Component\Validator\Constraints\Ip;
|
||||||
use Symfony\Component\Validator\Constraints\IpValidator;
|
use Symfony\Component\Validator\Constraints\IpValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class IpValidatorTest extends AbstractConstraintValidatorTest
|
class IpValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\IsFalse;
|
use Symfony\Component\Validator\Constraints\IsFalse;
|
||||||
use Symfony\Component\Validator\Constraints\IsFalseValidator;
|
use Symfony\Component\Validator\Constraints\IsFalseValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class IsFalseValidatorTest extends AbstractConstraintValidatorTest
|
class IsFalseValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\IsNull;
|
use Symfony\Component\Validator\Constraints\IsNull;
|
||||||
use Symfony\Component\Validator\Constraints\IsNullValidator;
|
use Symfony\Component\Validator\Constraints\IsNullValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class IsNullValidatorTest extends AbstractConstraintValidatorTest
|
class IsNullValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\IsTrue;
|
use Symfony\Component\Validator\Constraints\IsTrue;
|
||||||
use Symfony\Component\Validator\Constraints\IsTrueValidator;
|
use Symfony\Component\Validator\Constraints\IsTrueValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class IsTrueValidatorTest extends AbstractConstraintValidatorTest
|
class IsTrueValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Isbn;
|
use Symfony\Component\Validator\Constraints\Isbn;
|
||||||
use Symfony\Component\Validator\Constraints\IsbnValidator;
|
use Symfony\Component\Validator\Constraints\IsbnValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see https://en.wikipedia.org/wiki/Isbn
|
* @see https://en.wikipedia.org/wiki/Isbn
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Issn;
|
use Symfony\Component\Validator\Constraints\Issn;
|
||||||
use Symfony\Component\Validator\Constraints\IssnValidator;
|
use Symfony\Component\Validator\Constraints\IssnValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see https://en.wikipedia.org/wiki/Issn
|
* @see https://en.wikipedia.org/wiki/Issn
|
||||||
|
@ -14,7 +14,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
use Symfony\Component\Intl\Util\IntlTestHelper;
|
use Symfony\Component\Intl\Util\IntlTestHelper;
|
||||||
use Symfony\Component\Validator\Constraints\Language;
|
use Symfony\Component\Validator\Constraints\Language;
|
||||||
use Symfony\Component\Validator\Constraints\LanguageValidator;
|
use Symfony\Component\Validator\Constraints\LanguageValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class LanguageValidatorTest extends AbstractConstraintValidatorTest
|
class LanguageValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Length;
|
use Symfony\Component\Validator\Constraints\Length;
|
||||||
use Symfony\Component\Validator\Constraints\LengthValidator;
|
use Symfony\Component\Validator\Constraints\LengthValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class LengthValidatorTest extends AbstractConstraintValidatorTest
|
class LengthValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\LessThanOrEqual;
|
use Symfony\Component\Validator\Constraints\LessThanOrEqual;
|
||||||
use Symfony\Component\Validator\Constraints\LessThanOrEqualValidator;
|
use Symfony\Component\Validator\Constraints\LessThanOrEqualValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Daniel Holmes <daniel@danielholmes.org>
|
* @author Daniel Holmes <daniel@danielholmes.org>
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\LessThan;
|
use Symfony\Component\Validator\Constraints\LessThan;
|
||||||
use Symfony\Component\Validator\Constraints\LessThanValidator;
|
use Symfony\Component\Validator\Constraints\LessThanValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Daniel Holmes <daniel@danielholmes.org>
|
* @author Daniel Holmes <daniel@danielholmes.org>
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Locale;
|
use Symfony\Component\Validator\Constraints\Locale;
|
||||||
use Symfony\Component\Validator\Constraints\LocaleValidator;
|
use Symfony\Component\Validator\Constraints\LocaleValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class LocaleValidatorTest extends AbstractConstraintValidatorTest
|
class LocaleValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Luhn;
|
use Symfony\Component\Validator\Constraints\Luhn;
|
||||||
use Symfony\Component\Validator\Constraints\LuhnValidator;
|
use Symfony\Component\Validator\Constraints\LuhnValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class LuhnValidatorTest extends AbstractConstraintValidatorTest
|
class LuhnValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\NotBlank;
|
use Symfony\Component\Validator\Constraints\NotBlank;
|
||||||
use Symfony\Component\Validator\Constraints\NotBlankValidator;
|
use Symfony\Component\Validator\Constraints\NotBlankValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class NotBlankValidatorTest extends AbstractConstraintValidatorTest
|
class NotBlankValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\NotEqualTo;
|
use Symfony\Component\Validator\Constraints\NotEqualTo;
|
||||||
use Symfony\Component\Validator\Constraints\NotEqualToValidator;
|
use Symfony\Component\Validator\Constraints\NotEqualToValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Daniel Holmes <daniel@danielholmes.org>
|
* @author Daniel Holmes <daniel@danielholmes.org>
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\NotIdenticalTo;
|
use Symfony\Component\Validator\Constraints\NotIdenticalTo;
|
||||||
use Symfony\Component\Validator\Constraints\NotIdenticalToValidator;
|
use Symfony\Component\Validator\Constraints\NotIdenticalToValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Daniel Holmes <daniel@danielholmes.org>
|
* @author Daniel Holmes <daniel@danielholmes.org>
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\NotNull;
|
use Symfony\Component\Validator\Constraints\NotNull;
|
||||||
use Symfony\Component\Validator\Constraints\NotNullValidator;
|
use Symfony\Component\Validator\Constraints\NotNullValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class NotNullValidatorTest extends AbstractConstraintValidatorTest
|
class NotNullValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
use Symfony\Component\Intl\Util\IntlTestHelper;
|
use Symfony\Component\Intl\Util\IntlTestHelper;
|
||||||
use Symfony\Component\Validator\Constraints\Range;
|
use Symfony\Component\Validator\Constraints\Range;
|
||||||
use Symfony\Component\Validator\Constraints\RangeValidator;
|
use Symfony\Component\Validator\Constraints\RangeValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class RangeValidatorTest extends AbstractConstraintValidatorTest
|
class RangeValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Regex;
|
use Symfony\Component\Validator\Constraints\Regex;
|
||||||
use Symfony\Component\Validator\Constraints\RegexValidator;
|
use Symfony\Component\Validator\Constraints\RegexValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class RegexValidatorTest extends AbstractConstraintValidatorTest
|
class RegexValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Time;
|
use Symfony\Component\Validator\Constraints\Time;
|
||||||
use Symfony\Component\Validator\Constraints\TimeValidator;
|
use Symfony\Component\Validator\Constraints\TimeValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class TimeValidatorTest extends AbstractConstraintValidatorTest
|
class TimeValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Type;
|
use Symfony\Component\Validator\Constraints\Type;
|
||||||
use Symfony\Component\Validator\Constraints\TypeValidator;
|
use Symfony\Component\Validator\Constraints\TypeValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class TypeValidatorTest extends AbstractConstraintValidatorTest
|
class TypeValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Url;
|
use Symfony\Component\Validator\Constraints\Url;
|
||||||
use Symfony\Component\Validator\Constraints\UrlValidator;
|
use Symfony\Component\Validator\Constraints\UrlValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
class UrlValidatorTest extends AbstractConstraintValidatorTest
|
class UrlValidatorTest extends AbstractConstraintValidatorTest
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Uuid;
|
use Symfony\Component\Validator\Constraints\Uuid;
|
||||||
use Symfony\Component\Validator\Constraints\UuidValidator;
|
use Symfony\Component\Validator\Constraints\UuidValidator;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Colin O'Dell <colinodell@gmail.com>
|
* @author Colin O'Dell <colinodell@gmail.com>
|
||||||
|
@ -22,7 +22,6 @@ use Symfony\Component\Validator\Mapping\ClassMetadata;
|
|||||||
use Symfony\Component\Validator\Mapping\Factory\MetadataFactoryInterface;
|
use Symfony\Component\Validator\Mapping\Factory\MetadataFactoryInterface;
|
||||||
use Symfony\Component\Validator\Tests\Fixtures\Entity;
|
use Symfony\Component\Validator\Tests\Fixtures\Entity;
|
||||||
use Symfony\Component\Validator\Tests\Fixtures\FailingConstraint;
|
use Symfony\Component\Validator\Tests\Fixtures\FailingConstraint;
|
||||||
use Symfony\Component\Validator\Tests\Fixtures\FakeClassMetadata;
|
|
||||||
use Symfony\Component\Validator\Tests\Fixtures\Reference;
|
use Symfony\Component\Validator\Tests\Fixtures\Reference;
|
||||||
use Symfony\Component\Validator\Validator\ValidatorInterface;
|
use Symfony\Component\Validator\Validator\ValidatorInterface;
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\Validator\Validator;
|
namespace Symfony\Component\Validator\Validator;
|
||||||
|
|
||||||
use Symfony\Component\Validator\Constraint;
|
|
||||||
use Symfony\Component\Validator\ConstraintValidatorFactoryInterface;
|
use Symfony\Component\Validator\ConstraintValidatorFactoryInterface;
|
||||||
use Symfony\Component\Validator\Context\ExecutionContextFactoryInterface;
|
use Symfony\Component\Validator\Context\ExecutionContextFactoryInterface;
|
||||||
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
||||||
|
Reference in New Issue
Block a user