fixed CS
This commit is contained in:
parent
0a585b7130
commit
72e854e943
@ -178,6 +178,7 @@ class EntityChoiceList extends ObjectChoiceList
|
|||||||
if (empty($values)) {
|
if (empty($values)) {
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->entityLoader->getEntitiesByIds(current($this->identifier), $values);
|
return $this->entityLoader->getEntitiesByIds(current($this->identifier), $values);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Bridge\Twig;
|
namespace Symfony\Bridge\Twig;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
|
||||||
use Symfony\Component\Templating\EngineInterface;
|
use Symfony\Component\Templating\EngineInterface;
|
||||||
use Symfony\Component\Templating\StreamingEngineInterface;
|
use Symfony\Component\Templating\StreamingEngineInterface;
|
||||||
use Symfony\Component\Templating\TemplateNameParserInterface;
|
use Symfony\Component\Templating\TemplateNameParserInterface;
|
||||||
|
@ -94,6 +94,7 @@ class ApcClassLoader
|
|||||||
{
|
{
|
||||||
if ($file = $this->findFile($class)) {
|
if ($file = $this->findFile($class)) {
|
||||||
require $file;
|
require $file;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -72,6 +72,7 @@ class ClassLoader
|
|||||||
foreach ((array) $paths as $path) {
|
foreach ((array) $paths as $path) {
|
||||||
$this->fallbackDirs[] = $path;
|
$this->fallbackDirs[] = $path;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (isset($this->prefixes[$prefix])) {
|
if (isset($this->prefixes[$prefix])) {
|
||||||
@ -133,6 +134,7 @@ class ClassLoader
|
|||||||
{
|
{
|
||||||
if ($file = $this->findFile($class)) {
|
if ($file = $this->findFile($class)) {
|
||||||
require $file;
|
require $file;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,6 @@ use Symfony\Component\Form\Util\PropertyPath;
|
|||||||
use Symfony\Component\Form\Form;
|
use Symfony\Component\Form\Form;
|
||||||
use Symfony\Component\Form\Tests\Fixtures\Author;
|
use Symfony\Component\Form\Tests\Fixtures\Author;
|
||||||
use Symfony\Component\Form\Tests\Fixtures\FixedDataTransformer;
|
use Symfony\Component\Form\Tests\Fixtures\FixedDataTransformer;
|
||||||
use Symfony\Component\Form\Tests\Fixtures\FixedFilterListener;
|
|
||||||
|
|
||||||
class FieldTypeTest extends TypeTestCase
|
class FieldTypeTest extends TypeTestCase
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\HttpFoundation\Session;
|
namespace Symfony\Component\HttpFoundation\Session;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Session\Storage\MetadataBag;
|
|
||||||
use Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface;
|
use Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface;
|
||||||
use Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag;
|
use Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag;
|
||||||
use Symfony\Component\HttpFoundation\Session\Attribute\AttributeBagInterface;
|
use Symfony\Component\HttpFoundation\Session\Attribute\AttributeBagInterface;
|
||||||
|
@ -14,7 +14,6 @@ namespace Symfony\Component\HttpKernel\Tests\DataCollector;
|
|||||||
use Symfony\Component\HttpKernel\DataCollector\EventDataCollector;
|
use Symfony\Component\HttpKernel\DataCollector\EventDataCollector;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcherInterface;
|
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||||
use Symfony\Component\HttpKernel\Tests\Fixtures\TestEventDispatcher;
|
use Symfony\Component\HttpKernel\Tests\Fixtures\TestEventDispatcher;
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@ use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|||||||
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\Config\Loader\LoaderInterface;
|
|
||||||
use Symfony\Component\HttpKernel\Tests\Fixtures\KernelForTest;
|
use Symfony\Component\HttpKernel\Tests\Fixtures\KernelForTest;
|
||||||
use Symfony\Component\HttpKernel\Tests\Fixtures\FooBarBundle;
|
use Symfony\Component\HttpKernel\Tests\Fixtures\FooBarBundle;
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Mapping;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Tests\Fixtures\Entity;
|
use Symfony\Component\Validator\Tests\Fixtures\Entity;
|
||||||
use Symfony\Component\Validator\Tests\Fixtures\ConstraintA;
|
use Symfony\Component\Validator\Tests\Fixtures\ConstraintA;
|
||||||
use Symfony\Component\Validator\Tests\Fixtures\ConstraintB;
|
|
||||||
use Symfony\Component\Validator\Mapping\ClassMetadataFactory;
|
use Symfony\Component\Validator\Mapping\ClassMetadataFactory;
|
||||||
use Symfony\Component\Validator\Mapping\ClassMetadata;
|
use Symfony\Component\Validator\Mapping\ClassMetadata;
|
||||||
use Symfony\Component\Validator\Mapping\Loader\LoaderInterface;
|
use Symfony\Component\Validator\Mapping\Loader\LoaderInterface;
|
||||||
|
Reference in New Issue
Block a user