diff --git a/lib/Doctrine/ORM/Configuration.php b/lib/Doctrine/ORM/Configuration.php index b50d4b934..20238e795 100644 --- a/lib/Doctrine/ORM/Configuration.php +++ b/lib/Doctrine/ORM/Configuration.php @@ -19,18 +19,18 @@ namespace Doctrine\ORM; -use Doctrine\Common\Cache\Cache, - Doctrine\Common\Cache\ArrayCache, - Doctrine\Common\Annotations\AnnotationRegistry, - Doctrine\Common\Annotations\AnnotationReader, - Doctrine\Common\Persistence\Mapping\Driver\MappingDriver, - Doctrine\ORM\Mapping\Driver\AnnotationDriver, - Doctrine\ORM\Mapping\QuoteStrategy, - Doctrine\ORM\Mapping\DefaultQuoteStrategy, - Doctrine\ORM\Mapping\NamingStrategy, - Doctrine\ORM\Mapping\DefaultNamingStrategy, - Doctrine\Common\Annotations\SimpleAnnotationReader, - Doctrine\Common\Annotations\CachedReader; +use Doctrine\Common\Cache\Cache; +use Doctrine\Common\Cache\ArrayCache; +use Doctrine\Common\Annotations\AnnotationRegistry; +use Doctrine\Common\Annotations\AnnotationReader; +use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver; +use Doctrine\ORM\Mapping\Driver\AnnotationDriver; +use Doctrine\ORM\Mapping\QuoteStrategy; +use Doctrine\ORM\Mapping\DefaultQuoteStrategy; +use Doctrine\ORM\Mapping\NamingStrategy; +use Doctrine\ORM\Mapping\DefaultNamingStrategy; +use Doctrine\Common\Annotations\SimpleAnnotationReader; +use Doctrine\Common\Annotations\CachedReader; /** * Configuration container for all configuration options of Doctrine. diff --git a/lib/Doctrine/ORM/EntityManager.php b/lib/Doctrine/ORM/EntityManager.php index 0c456af6b..36895f046 100644 --- a/lib/Doctrine/ORM/EntityManager.php +++ b/lib/Doctrine/ORM/EntityManager.php @@ -19,16 +19,16 @@ namespace Doctrine\ORM; -use Exception, - Doctrine\Common\EventManager, - Doctrine\Common\Persistence\ObjectManager, - Doctrine\DBAL\Connection, - Doctrine\DBAL\LockMode, - Doctrine\ORM\Mapping\ClassMetadata, - Doctrine\ORM\Mapping\ClassMetadataFactory, - Doctrine\ORM\Query\ResultSetMapping, - Doctrine\ORM\Proxy\ProxyFactory, - Doctrine\ORM\Query\FilterCollection; +use Exception; +use Doctrine\Common\EventManager; +use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\DBAL\Connection; +use Doctrine\DBAL\LockMode; +use Doctrine\ORM\Mapping\ClassMetadata; +use Doctrine\ORM\Mapping\ClassMetadataFactory; +use Doctrine\ORM\Query\ResultSetMapping; +use Doctrine\ORM\Proxy\ProxyFactory; +use Doctrine\ORM\Query\FilterCollection; /** * The EntityManager is the central access point to ORM functionality. diff --git a/lib/Doctrine/ORM/Event/PreUpdateEventArgs.php b/lib/Doctrine/ORM/Event/PreUpdateEventArgs.php index 188417e38..1bb0f1b77 100644 --- a/lib/Doctrine/ORM/Event/PreUpdateEventArgs.php +++ b/lib/Doctrine/ORM/Event/PreUpdateEventArgs.php @@ -19,8 +19,8 @@ namespace Doctrine\ORM\Event; -use Doctrine\Common\EventArgs, - Doctrine\ORM\EntityManager; +use Doctrine\Common\EventArgs; +use Doctrine\ORM\EntityManager; /** * Class that holds event arguments for a preInsert/preUpdate event. diff --git a/lib/Doctrine/ORM/Id/SequenceGenerator.php b/lib/Doctrine/ORM/Id/SequenceGenerator.php index 5b5d83165..d230e3c6d 100644 --- a/lib/Doctrine/ORM/Id/SequenceGenerator.php +++ b/lib/Doctrine/ORM/Id/SequenceGenerator.php @@ -19,7 +19,8 @@ namespace Doctrine\ORM\Id; -use Serializable, Doctrine\ORM\EntityManager; +use Serializable; +use Doctrine\ORM\EntityManager; /** * Represents an ID generator that uses a database sequence. diff --git a/lib/Doctrine/ORM/Id/UuidGenerator.php b/lib/Doctrine/ORM/Id/UuidGenerator.php index 3978f1be4..230c518fe 100644 --- a/lib/Doctrine/ORM/Id/UuidGenerator.php +++ b/lib/Doctrine/ORM/Id/UuidGenerator.php @@ -19,7 +19,8 @@ namespace Doctrine\ORM\Id; -use Serializable, Doctrine\ORM\EntityManager; +use Serializable; +use Doctrine\ORM\EntityManager; /** * Represents an ID generator that uses the database UUID expression diff --git a/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php b/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php index 5e30c825d..b64024e7f 100644 --- a/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php +++ b/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php @@ -19,12 +19,12 @@ namespace Doctrine\ORM\Internal\Hydration; -use PDO, - Doctrine\DBAL\Connection, - Doctrine\DBAL\Types\Type, - Doctrine\ORM\EntityManager, - Doctrine\ORM\Events, - Doctrine\ORM\Mapping\ClassMetadata; +use PDO; +use Doctrine\DBAL\Connection; +use Doctrine\DBAL\Types\Type; +use Doctrine\ORM\EntityManager; +use Doctrine\ORM\Events; +use Doctrine\ORM\Mapping\ClassMetadata; /** * Base class for all hydrators. A hydrator is a class that provides some form diff --git a/lib/Doctrine/ORM/Internal/Hydration/ArrayHydrator.php b/lib/Doctrine/ORM/Internal/Hydration/ArrayHydrator.php index 8f7178e99..3f9d8d15b 100644 --- a/lib/Doctrine/ORM/Internal/Hydration/ArrayHydrator.php +++ b/lib/Doctrine/ORM/Internal/Hydration/ArrayHydrator.php @@ -19,7 +19,9 @@ namespace Doctrine\ORM\Internal\Hydration; -use PDO, Doctrine\DBAL\Connection, Doctrine\ORM\Mapping\ClassMetadata; +use PDO; +use Doctrine\DBAL\Connection; +use Doctrine\ORM\Mapping\ClassMetadata; /** * The ArrayHydrator produces a nested array "graph" that is often (not always) diff --git a/lib/Doctrine/ORM/Internal/Hydration/HydrationException.php b/lib/Doctrine/ORM/Internal/Hydration/HydrationException.php index 2acc33225..2d78742b0 100644 --- a/lib/Doctrine/ORM/Internal/Hydration/HydrationException.php +++ b/lib/Doctrine/ORM/Internal/Hydration/HydrationException.php @@ -1,4 +1,21 @@ . + */ namespace Doctrine\ORM\Internal\Hydration; diff --git a/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php b/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php index 8f8ed4b9a..b9c6693aa 100644 --- a/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php +++ b/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php @@ -19,12 +19,12 @@ namespace Doctrine\ORM\Internal\Hydration; -use \PDO, - Doctrine\DBAL\Types\Type, - Doctrine\ORM\Mapping\ClassMetadata, - Doctrine\ORM\Event\LifecycleEventArgs, - Doctrine\ORM\Events, - Doctrine\ORM\Query; +use \PDO; +use Doctrine\DBAL\Types\Type; +use Doctrine\ORM\Mapping\ClassMetadata; +use Doctrine\ORM\Event\LifecycleEventArgs; +use Doctrine\ORM\Events; +use Doctrine\ORM\Query; class SimpleObjectHydrator extends AbstractHydrator { diff --git a/lib/Doctrine/ORM/Internal/Hydration/SingleScalarHydrator.php b/lib/Doctrine/ORM/Internal/Hydration/SingleScalarHydrator.php index a23c4cefe..20d563fdb 100644 --- a/lib/Doctrine/ORM/Internal/Hydration/SingleScalarHydrator.php +++ b/lib/Doctrine/ORM/Internal/Hydration/SingleScalarHydrator.php @@ -19,9 +19,9 @@ namespace Doctrine\ORM\Internal\Hydration; -use Doctrine\DBAL\Connection, - Doctrine\ORM\NoResultException, - Doctrine\ORM\NonUniqueResultException; +use Doctrine\DBAL\Connection; +use Doctrine\ORM\NoResultException; +use Doctrine\ORM\NonUniqueResultException; /** * Hydrator that hydrates a single scalar value from the result set. diff --git a/lib/Doctrine/ORM/Mapping/Builder/AssociationBuilder.php b/lib/Doctrine/ORM/Mapping/Builder/AssociationBuilder.php index d540774d4..7701d3e07 100644 --- a/lib/Doctrine/ORM/Mapping/Builder/AssociationBuilder.php +++ b/lib/Doctrine/ORM/Mapping/Builder/AssociationBuilder.php @@ -17,7 +17,6 @@ * . */ - namespace Doctrine\ORM\Mapping\Builder; use Doctrine\ORM\Mapping\ClassMetadata; diff --git a/lib/Doctrine/ORM/Mapping/Builder/ClassMetadataBuilder.php b/lib/Doctrine/ORM/Mapping/Builder/ClassMetadataBuilder.php index fb7bbc40a..07c3e81d8 100644 --- a/lib/Doctrine/ORM/Mapping/Builder/ClassMetadataBuilder.php +++ b/lib/Doctrine/ORM/Mapping/Builder/ClassMetadataBuilder.php @@ -19,8 +19,8 @@ namespace Doctrine\ORM\Mapping\Builder; -use Doctrine\ORM\Mapping\ClassMetadata, - Doctrine\ORM\Mapping\ClassMetadataInfo; +use Doctrine\ORM\Mapping\ClassMetadata; +use Doctrine\ORM\Mapping\ClassMetadataInfo; /** * Builder Object for ClassMetadata diff --git a/lib/Doctrine/ORM/Mapping/Builder/FieldBuilder.php b/lib/Doctrine/ORM/Mapping/Builder/FieldBuilder.php index 49dd54cc8..7029e14ce 100644 --- a/lib/Doctrine/ORM/Mapping/Builder/FieldBuilder.php +++ b/lib/Doctrine/ORM/Mapping/Builder/FieldBuilder.php @@ -17,7 +17,6 @@ * . */ - namespace Doctrine\ORM\Mapping\Builder; /** diff --git a/lib/Doctrine/ORM/Mapping/Builder/ManyToManyAssociationBuilder.php b/lib/Doctrine/ORM/Mapping/Builder/ManyToManyAssociationBuilder.php index 17edeea40..61f862a7e 100644 --- a/lib/Doctrine/ORM/Mapping/Builder/ManyToManyAssociationBuilder.php +++ b/lib/Doctrine/ORM/Mapping/Builder/ManyToManyAssociationBuilder.php @@ -17,7 +17,6 @@ * . */ - namespace Doctrine\ORM\Mapping\Builder; /** diff --git a/lib/Doctrine/ORM/Mapping/Builder/OneToManyAssociationBuilder.php b/lib/Doctrine/ORM/Mapping/Builder/OneToManyAssociationBuilder.php index 6f22fe22f..dbaf65c81 100644 --- a/lib/Doctrine/ORM/Mapping/Builder/OneToManyAssociationBuilder.php +++ b/lib/Doctrine/ORM/Mapping/Builder/OneToManyAssociationBuilder.php @@ -17,7 +17,6 @@ * . */ - namespace Doctrine\ORM\Mapping\Builder; /** diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php index f79eda8b9..5dc63e6ac 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php @@ -19,16 +19,16 @@ namespace Doctrine\ORM\Mapping; -use ReflectionException, - Doctrine\ORM\ORMException, - Doctrine\ORM\EntityManager, - Doctrine\DBAL\Platforms, - Doctrine\ORM\Events, - Doctrine\Common\Persistence\Mapping\ReflectionService, - Doctrine\Common\Persistence\Mapping\ClassMetadata as ClassMetadataInterface, - Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory, - Doctrine\ORM\Id\IdentityGenerator, - Doctrine\ORM\Event\LoadClassMetadataEventArgs; +use ReflectionException; +use Doctrine\ORM\ORMException; +use Doctrine\ORM\EntityManager; +use Doctrine\DBAL\Platforms; +use Doctrine\ORM\Events; +use Doctrine\Common\Persistence\Mapping\ReflectionService; +use Doctrine\Common\Persistence\Mapping\ClassMetadata as ClassMetadataInterface; +use Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory; +use Doctrine\ORM\Id\IdentityGenerator; +use Doctrine\ORM\Event\LoadClassMetadataEventArgs; /** * The ClassMetadataFactory is used to create ClassMetadata objects that contain all the diff --git a/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php b/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php index 2728918c0..a83c7d892 100644 --- a/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php +++ b/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php @@ -19,8 +19,8 @@ namespace Doctrine\ORM\Persisters; -use Doctrine\ORM\EntityManager, - Doctrine\ORM\PersistentCollection; +use Doctrine\ORM\EntityManager; +use Doctrine\ORM\PersistentCollection; /** * Base class for all collection persisters. diff --git a/lib/Doctrine/ORM/Persisters/AbstractEntityInheritancePersister.php b/lib/Doctrine/ORM/Persisters/AbstractEntityInheritancePersister.php index 19e77a4e7..119160843 100644 --- a/lib/Doctrine/ORM/Persisters/AbstractEntityInheritancePersister.php +++ b/lib/Doctrine/ORM/Persisters/AbstractEntityInheritancePersister.php @@ -19,8 +19,8 @@ namespace Doctrine\ORM\Persisters; -use Doctrine\ORM\Mapping\ClassMetadata, - Doctrine\DBAL\Types\Type; +use Doctrine\ORM\Mapping\ClassMetadata; +use Doctrine\DBAL\Types\Type; /** * Base class for entity persisters that implement a certain inheritance mapping strategy. diff --git a/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php b/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php index 3f0f1f859..1d77643d7 100644 --- a/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php +++ b/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php @@ -19,9 +19,9 @@ namespace Doctrine\ORM\Persisters; -use Doctrine\ORM\Mapping\ClassMetadata, - Doctrine\ORM\PersistentCollection, - Doctrine\ORM\UnitOfWork; +use Doctrine\ORM\Mapping\ClassMetadata; +use Doctrine\ORM\PersistentCollection; +use Doctrine\ORM\UnitOfWork; /** * Persister for many-to-many collections. diff --git a/lib/Doctrine/ORM/Persisters/OneToManyPersister.php b/lib/Doctrine/ORM/Persisters/OneToManyPersister.php index aa0208fea..2e587f270 100644 --- a/lib/Doctrine/ORM/Persisters/OneToManyPersister.php +++ b/lib/Doctrine/ORM/Persisters/OneToManyPersister.php @@ -19,8 +19,8 @@ namespace Doctrine\ORM\Persisters; -use Doctrine\ORM\PersistentCollection, - Doctrine\ORM\UnitOfWork; +use Doctrine\ORM\PersistentCollection; +use Doctrine\ORM\UnitOfWork; /** * Persister for one-to-many collections. diff --git a/lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php b/lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php index ef844a706..b2ea51490 100644 --- a/lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php +++ b/lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php @@ -1,4 +1,21 @@ . + */ namespace Doctrine\ORM\Persisters; diff --git a/lib/Doctrine/ORM/Proxy/ProxyFactory.php b/lib/Doctrine/ORM/Proxy/ProxyFactory.php index df74207e7..7000dae0b 100644 --- a/lib/Doctrine/ORM/Proxy/ProxyFactory.php +++ b/lib/Doctrine/ORM/Proxy/ProxyFactory.php @@ -19,9 +19,9 @@ namespace Doctrine\ORM\Proxy; -use Doctrine\ORM\EntityManager, - Doctrine\ORM\Mapping\ClassMetadata, - Doctrine\Common\Util\ClassUtils; +use Doctrine\ORM\EntityManager; +use Doctrine\ORM\Mapping\ClassMetadata; +use Doctrine\Common\Util\ClassUtils; /** * This factory is used to create proxy objects for entities at runtime. diff --git a/lib/Doctrine/ORM/Query/AST/UpdateStatement.php b/lib/Doctrine/ORM/Query/AST/UpdateStatement.php index 9e25d83cc..decae96e9 100644 --- a/lib/Doctrine/ORM/Query/AST/UpdateStatement.php +++ b/lib/Doctrine/ORM/Query/AST/UpdateStatement.php @@ -16,6 +16,7 @@ * and is licensed under the MIT license. For more information, see * . */ + namespace Doctrine\ORM\Query\AST; /** diff --git a/lib/Doctrine/ORM/Query/Exec/MultiTableDeleteExecutor.php b/lib/Doctrine/ORM/Query/Exec/MultiTableDeleteExecutor.php index d40b37edc..1ead1eafa 100644 --- a/lib/Doctrine/ORM/Query/Exec/MultiTableDeleteExecutor.php +++ b/lib/Doctrine/ORM/Query/Exec/MultiTableDeleteExecutor.php @@ -19,8 +19,8 @@ namespace Doctrine\ORM\Query\Exec; -use Doctrine\DBAL\Connection, - Doctrine\ORM\Query\AST; +use Doctrine\DBAL\Connection; +use Doctrine\ORM\Query\AST; /** * Executes the SQL statements for bulk DQL DELETE statements on classes in diff --git a/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php b/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php index 61ae2fac1..c5ce9b5fa 100644 --- a/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php +++ b/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php @@ -19,9 +19,9 @@ namespace Doctrine\ORM\Query\Exec; -use Doctrine\DBAL\Connection, - Doctrine\ORM\Query\AST\SelectStatement, - Doctrine\ORM\Query\SqlWalker; +use Doctrine\DBAL\Connection; +use Doctrine\ORM\Query\AST\SelectStatement; +use Doctrine\ORM\Query\SqlWalker; /** * Executor that executes the SQL statement for simple DQL SELECT statements. diff --git a/lib/Doctrine/ORM/Query/Exec/SingleTableDeleteUpdateExecutor.php b/lib/Doctrine/ORM/Query/Exec/SingleTableDeleteUpdateExecutor.php index b9bfd6fde..ea4e91897 100644 --- a/lib/Doctrine/ORM/Query/Exec/SingleTableDeleteUpdateExecutor.php +++ b/lib/Doctrine/ORM/Query/Exec/SingleTableDeleteUpdateExecutor.php @@ -19,8 +19,8 @@ namespace Doctrine\ORM\Query\Exec; -use Doctrine\DBAL\Connection, - Doctrine\ORM\Query\AST; +use Doctrine\DBAL\Connection; +use Doctrine\ORM\Query\AST; /** * Executor that executes the SQL statements for DQL DELETE/UPDATE statements on classes diff --git a/lib/Doctrine/ORM/Query/Filter/SQLFilter.php b/lib/Doctrine/ORM/Query/Filter/SQLFilter.php index 5d6692b74..528397ad9 100644 --- a/lib/Doctrine/ORM/Query/Filter/SQLFilter.php +++ b/lib/Doctrine/ORM/Query/Filter/SQLFilter.php @@ -19,9 +19,9 @@ namespace Doctrine\ORM\Query\Filter; -use Doctrine\ORM\EntityManager, - Doctrine\ORM\Mapping\ClassMetaData, - Doctrine\ORM\Query\ParameterTypeInferer; +use Doctrine\ORM\EntityManager; +use Doctrine\ORM\Mapping\ClassMetaData; +use Doctrine\ORM\Query\ParameterTypeInferer; /** * The base class that user defined filters should extend. diff --git a/lib/Doctrine/ORM/Query/FilterCollection.php b/lib/Doctrine/ORM/Query/FilterCollection.php index c8091d77d..64f425387 100644 --- a/lib/Doctrine/ORM/Query/FilterCollection.php +++ b/lib/Doctrine/ORM/Query/FilterCollection.php @@ -19,8 +19,8 @@ namespace Doctrine\ORM\Query; -use Doctrine\ORM\Configuration, - Doctrine\ORM\EntityManager; +use Doctrine\ORM\Configuration; +use Doctrine\ORM\EntityManager; /** * Collection class for all the query filters. diff --git a/lib/Doctrine/ORM/Query/SqlWalker.php b/lib/Doctrine/ORM/Query/SqlWalker.php index 0d0541438..318ced2f6 100644 --- a/lib/Doctrine/ORM/Query/SqlWalker.php +++ b/lib/Doctrine/ORM/Query/SqlWalker.php @@ -19,12 +19,12 @@ namespace Doctrine\ORM\Query; -use Doctrine\DBAL\LockMode, - Doctrine\DBAL\Types\Type, - Doctrine\ORM\Mapping\ClassMetadata, - Doctrine\ORM\Query, - Doctrine\ORM\Query\QueryException, - Doctrine\ORM\Mapping\ClassMetadataInfo; +use Doctrine\DBAL\LockMode; +use Doctrine\DBAL\Types\Type; +use Doctrine\ORM\Mapping\ClassMetadata; +use Doctrine\ORM\Query; +use Doctrine\ORM\Query\QueryException; +use Doctrine\ORM\Mapping\ClassMetadataInfo; /** * The SqlWalker is a TreeWalker that walks over a DQL AST and constructs diff --git a/lib/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php b/lib/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php index 46f358a86..688562423 100644 --- a/lib/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php +++ b/lib/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php @@ -19,9 +19,9 @@ namespace Doctrine\ORM\Tools; -use Doctrine\ORM\Mapping\ClassMetadataInfo, - Doctrine\ORM\Tools\Export\Driver\AbstractExporter, - Doctrine\Common\Util\Inflector; +use Doctrine\ORM\Mapping\ClassMetadataInfo; +use Doctrine\ORM\Tools\Export\Driver\AbstractExporter; +use Doctrine\Common\Util\Inflector; /** * Class to help with converting Doctrine 1 schema files to Doctrine 2 mapping files diff --git a/lib/Doctrine/ORM/Tools/EntityGenerator.php b/lib/Doctrine/ORM/Tools/EntityGenerator.php index 905de215b..0d2fa8aa9 100644 --- a/lib/Doctrine/ORM/Tools/EntityGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityGenerator.php @@ -19,9 +19,9 @@ namespace Doctrine\ORM\Tools; -use Doctrine\ORM\Mapping\ClassMetadataInfo, - Doctrine\Common\Util\Inflector, - Doctrine\DBAL\Types\Type; +use Doctrine\ORM\Mapping\ClassMetadataInfo; +use Doctrine\Common\Util\Inflector; +use Doctrine\DBAL\Types\Type; /** * Generic class used to generate PHP5 entity classes from ClassMetadataInfo instances diff --git a/lib/Doctrine/ORM/Tools/Export/ClassMetadataExporter.php b/lib/Doctrine/ORM/Tools/Export/ClassMetadataExporter.php index 843c00492..012b6451c 100644 --- a/lib/Doctrine/ORM/Tools/Export/ClassMetadataExporter.php +++ b/lib/Doctrine/ORM/Tools/Export/ClassMetadataExporter.php @@ -19,8 +19,8 @@ namespace Doctrine\ORM\Tools\Export; -use Doctrine\ORM\Tools\Export\ExportException, - Doctrine\ORM\EntityManager; +use Doctrine\ORM\Tools\Export\ExportException; +use Doctrine\ORM\EntityManager; /** * Class used for converting your mapping information between the diff --git a/lib/Doctrine/ORM/Tools/Export/Driver/AnnotationExporter.php b/lib/Doctrine/ORM/Tools/Export/Driver/AnnotationExporter.php index d1ec92ab4..1da2c5770 100644 --- a/lib/Doctrine/ORM/Tools/Export/Driver/AnnotationExporter.php +++ b/lib/Doctrine/ORM/Tools/Export/Driver/AnnotationExporter.php @@ -19,8 +19,8 @@ namespace Doctrine\ORM\Tools\Export\Driver; -use Doctrine\ORM\Mapping\ClassMetadataInfo, - Doctrine\ORM\Tools\EntityGenerator; +use Doctrine\ORM\Mapping\ClassMetadataInfo; +use Doctrine\ORM\Tools\EntityGenerator; /** * ClassMetadata exporter for PHP classes with annotations diff --git a/lib/Doctrine/ORM/Tools/Pagination/CountOutputWalker.php b/lib/Doctrine/ORM/Tools/Pagination/CountOutputWalker.php index bae9be2db..32d573ec6 100644 --- a/lib/Doctrine/ORM/Tools/Pagination/CountOutputWalker.php +++ b/lib/Doctrine/ORM/Tools/Pagination/CountOutputWalker.php @@ -13,8 +13,8 @@ namespace Doctrine\ORM\Tools\Pagination; -use Doctrine\ORM\Query\SqlWalker, - Doctrine\ORM\Query\AST\SelectStatement; +use Doctrine\ORM\Query\SqlWalker; +use Doctrine\ORM\Query\AST\SelectStatement; /** * Wrap the query in order to accurately count the root objects diff --git a/lib/Doctrine/ORM/Tools/Pagination/CountWalker.php b/lib/Doctrine/ORM/Tools/Pagination/CountWalker.php index 0fc7e7585..578d13aee 100644 --- a/lib/Doctrine/ORM/Tools/Pagination/CountWalker.php +++ b/lib/Doctrine/ORM/Tools/Pagination/CountWalker.php @@ -13,11 +13,11 @@ namespace Doctrine\ORM\Tools\Pagination; -use Doctrine\ORM\Query\TreeWalkerAdapter, - Doctrine\ORM\Query\AST\SelectStatement, - Doctrine\ORM\Query\AST\SelectExpression, - Doctrine\ORM\Query\AST\PathExpression, - Doctrine\ORM\Query\AST\AggregateExpression; +use Doctrine\ORM\Query\TreeWalkerAdapter; +use Doctrine\ORM\Query\AST\SelectStatement; +use Doctrine\ORM\Query\AST\SelectExpression; +use Doctrine\ORM\Query\AST\PathExpression; +use Doctrine\ORM\Query\AST\AggregateExpression; /** * Replaces the selectClause of the AST with a COUNT statement diff --git a/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php b/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php index 07f3993b4..2888805cb 100644 --- a/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php +++ b/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php @@ -13,8 +13,8 @@ namespace Doctrine\ORM\Tools\Pagination; -use Doctrine\ORM\Query\SqlWalker, - Doctrine\ORM\Query\AST\SelectStatement; +use Doctrine\ORM\Query\SqlWalker; +use Doctrine\ORM\Query\AST\SelectStatement; /** * Wrap the query in order to select root entity IDs for pagination diff --git a/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryWalker.php b/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryWalker.php index 1ae74f437..545f983af 100644 --- a/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryWalker.php +++ b/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryWalker.php @@ -18,12 +18,12 @@ namespace Doctrine\ORM\Tools\Pagination; -use Doctrine\DBAL\Types\Type, - Doctrine\ORM\Query\TreeWalkerAdapter, - Doctrine\ORM\Query\AST\SelectStatement, - Doctrine\ORM\Query\AST\SelectExpression, - Doctrine\ORM\Query\AST\PathExpression, - Doctrine\ORM\Query\AST\AggregateExpression; +use Doctrine\DBAL\Types\Type; +use Doctrine\ORM\Query\TreeWalkerAdapter; +use Doctrine\ORM\Query\AST\SelectStatement; +use Doctrine\ORM\Query\AST\SelectExpression; +use Doctrine\ORM\Query\AST\PathExpression; +use Doctrine\ORM\Query\AST\AggregateExpression; /** * Replaces the selectClause of the AST with a SELECT DISTINCT root.id equivalent diff --git a/lib/Doctrine/ORM/Tools/Pagination/Paginator.php b/lib/Doctrine/ORM/Tools/Pagination/Paginator.php index 16c9dcfb0..c7dccffc4 100644 --- a/lib/Doctrine/ORM/Tools/Pagination/Paginator.php +++ b/lib/Doctrine/ORM/Tools/Pagination/Paginator.php @@ -19,10 +19,10 @@ namespace Doctrine\ORM\Tools\Pagination; -use Doctrine\ORM\QueryBuilder, - Doctrine\ORM\Query, - Doctrine\ORM\Query\ResultSetMapping, - Doctrine\ORM\NoResultException; +use Doctrine\ORM\QueryBuilder; +use Doctrine\ORM\Query; +use Doctrine\ORM\Query\ResultSetMapping; +use Doctrine\ORM\NoResultException; /** * Paginator diff --git a/lib/Doctrine/ORM/Tools/Pagination/WhereInWalker.php b/lib/Doctrine/ORM/Tools/Pagination/WhereInWalker.php index 9b919e601..f24184c7c 100644 --- a/lib/Doctrine/ORM/Tools/Pagination/WhereInWalker.php +++ b/lib/Doctrine/ORM/Tools/Pagination/WhereInWalker.php @@ -17,19 +17,19 @@ namespace Doctrine\ORM\Tools\Pagination; -use Doctrine\ORM\Query\AST\ArithmeticExpression, - Doctrine\ORM\Query\AST\SimpleArithmeticExpression, - Doctrine\ORM\Query\TreeWalkerAdapter, - Doctrine\ORM\Query\AST\SelectStatement, - Doctrine\ORM\Query\AST\PathExpression, - Doctrine\ORM\Query\AST\InExpression, - Doctrine\ORM\Query\AST\NullComparisonExpression, - Doctrine\ORM\Query\AST\InputParameter, - Doctrine\ORM\Query\AST\ConditionalPrimary, - Doctrine\ORM\Query\AST\ConditionalTerm, - Doctrine\ORM\Query\AST\ConditionalExpression, - Doctrine\ORM\Query\AST\ConditionalFactor, - Doctrine\ORM\Query\AST\WhereClause; +use Doctrine\ORM\Query\AST\ArithmeticExpression; +use Doctrine\ORM\Query\AST\SimpleArithmeticExpression; +use Doctrine\ORM\Query\TreeWalkerAdapter; +use Doctrine\ORM\Query\AST\SelectStatement; +use Doctrine\ORM\Query\AST\PathExpression; +use Doctrine\ORM\Query\AST\InExpression; +use Doctrine\ORM\Query\AST\NullComparisonExpression; +use Doctrine\ORM\Query\AST\InputParameter; +use Doctrine\ORM\Query\AST\ConditionalPrimary; +use Doctrine\ORM\Query\AST\ConditionalTerm; +use Doctrine\ORM\Query\AST\ConditionalExpression; +use Doctrine\ORM\Query\AST\ConditionalFactor; +use Doctrine\ORM\Query\AST\WhereClause; /** * Replaces the whereClause of the AST with a WHERE id IN (:foo_1, :foo_2) equivalent diff --git a/lib/Doctrine/ORM/Tools/SchemaTool.php b/lib/Doctrine/ORM/Tools/SchemaTool.php index 226173ca6..659b4dd16 100644 --- a/lib/Doctrine/ORM/Tools/SchemaTool.php +++ b/lib/Doctrine/ORM/Tools/SchemaTool.php @@ -19,15 +19,15 @@ namespace Doctrine\ORM\Tools; -use Doctrine\ORM\ORMException, - Doctrine\DBAL\Types\Type, - Doctrine\DBAL\Schema\Schema, - Doctrine\DBAL\Schema\Visitor\RemoveNamespacedAssets, - Doctrine\ORM\EntityManager, - Doctrine\ORM\Mapping\ClassMetadata, - Doctrine\ORM\Internal\CommitOrderCalculator, - Doctrine\ORM\Tools\Event\GenerateSchemaTableEventArgs, - Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs; +use Doctrine\ORM\ORMException; +use Doctrine\DBAL\Types\Type; +use Doctrine\DBAL\Schema\Schema; +use Doctrine\DBAL\Schema\Visitor\RemoveNamespacedAssets; +use Doctrine\ORM\EntityManager; +use Doctrine\ORM\Mapping\ClassMetadata; +use Doctrine\ORM\Internal\CommitOrderCalculator; +use Doctrine\ORM\Tools\Event\GenerateSchemaTableEventArgs; +use Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs; /** * The SchemaTool is a tool to create/drop/update database schemas based on diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php index 19ba6cb08..bd075b95b 100644 --- a/lib/Doctrine/ORM/UnitOfWork.php +++ b/lib/Doctrine/ORM/UnitOfWork.php @@ -19,15 +19,17 @@ namespace Doctrine\ORM; -use Exception, InvalidArgumentException, UnexpectedValueException, - Doctrine\Common\Collections\ArrayCollection, - Doctrine\Common\Collections\Collection, - Doctrine\Common\NotifyPropertyChanged, - Doctrine\Common\PropertyChangedListener, - Doctrine\Common\Persistence\ObjectManagerAware, - Doctrine\ORM\Event\LifecycleEventArgs, - Doctrine\ORM\Mapping\ClassMetadata, - Doctrine\ORM\Proxy\Proxy; +use Exception; +use InvalidArgumentException; +use UnexpectedValueException; +use Doctrine\Common\Collections\ArrayCollection; +use Doctrine\Common\Collections\Collection; +use Doctrine\Common\NotifyPropertyChanged; +use Doctrine\Common\PropertyChangedListener; +use Doctrine\Common\Persistence\ObjectManagerAware; +use Doctrine\ORM\Event\LifecycleEventArgs; +use Doctrine\ORM\Mapping\ClassMetadata; +use Doctrine\ORM\Proxy\Proxy; /** * The UnitOfWork is responsible for tracking changes to objects during an