fixed CS
This commit is contained in:
parent
9c3c53a5c1
commit
e8f9a55012
@ -11,8 +11,6 @@
|
||||
|
||||
namespace Symfony\Bridge\Doctrine\Form\ChoiceList;
|
||||
|
||||
use Doctrine\DBAL\Connection;
|
||||
use Symfony\Component\Form\Exception\FormException;
|
||||
use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
use Doctrine\ORM\QueryBuilder;
|
||||
|
||||
|
@ -12,9 +12,6 @@
|
||||
namespace Symfony\Bridge\Doctrine\Form\Type;
|
||||
|
||||
use Doctrine\Common\Persistence\ObjectManager;
|
||||
use Symfony\Component\Form\FormBuilder;
|
||||
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
|
||||
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityLoaderInterface;
|
||||
use Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader;
|
||||
|
||||
class EntityType extends DoctrineType
|
||||
|
@ -12,7 +12,6 @@
|
||||
namespace Symfony\Bundle\WebProfilerBundle\Controller;
|
||||
|
||||
use Symfony\Component\DependencyInjection\ContainerAware;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Matcher\TraceableUrlMatcher;
|
||||
|
||||
|
@ -74,7 +74,7 @@ class CollectionValidator extends ConstraintValidator
|
||||
}
|
||||
|
||||
unset($extraFields[$field]);
|
||||
} else if (!$fieldConstraint instanceof Optional) {
|
||||
} elseif (!$fieldConstraint instanceof Optional) {
|
||||
$missingFields[] = $field;
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ class FormThemeTest extends TestCase
|
||||
$this->markTestSkipped('Requires Twig version to be at least 1.5.0.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function testConstructor()
|
||||
{
|
||||
$form = new \Twig_Node_Expression_Name('form', 0);
|
||||
@ -68,4 +68,4 @@ class FormThemeTest extends TestCase
|
||||
|
||||
return sprintf('$this->getContext($context, "%s")', $name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ class FormThemeTokenParserTest extends TestCase
|
||||
$this->markTestSkipped('Requires Twig version to be at least 1.5.0.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @dataProvider getTestsForFormTheme
|
||||
*/
|
||||
@ -67,4 +67,4 @@ class FormThemeTokenParserTest extends TestCase
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -17,4 +17,4 @@ class CollectionValidatorArrayObjectTest extends CollectionValidatorTest
|
||||
{
|
||||
return new \ArrayObject($contents);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -17,4 +17,4 @@ class CollectionValidatorArrayTest extends CollectionValidatorTest
|
||||
{
|
||||
return $contents;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -77,4 +77,4 @@ class CollectionValidatorCustomArrayObjectTest extends CollectionValidatorTest
|
||||
{
|
||||
return new CustomArrayObject($contents);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,6 @@ namespace Symfony\Tests\Component\Validator\Constraints;
|
||||
|
||||
use Symfony\Component\Validator\ExecutionContext;
|
||||
use Symfony\Component\Validator\Constraints\Min;
|
||||
use Symfony\Component\Validator\Constraints\NotBlank;
|
||||
use Symfony\Component\Validator\Constraints\NotNull;
|
||||
use Symfony\Component\Validator\Constraints\Collection\Required;
|
||||
use Symfony\Component\Validator\Constraints\Collection\Optional;
|
||||
|
Reference in New Issue
Block a user