From 344ab02d958e754a6655242d615ccc739772a8f8 Mon Sep 17 00:00:00 2001 From: romanb Date: Sat, 5 Jan 2008 19:14:35 +0000 Subject: [PATCH] reverting the reorganization done in 3455-3456 in order to make merging my experimental branch to trunk easier. --- lib/Doctrine.php | 402 ++++++++---------- lib/{orm => Doctrine}/Access.php | 0 lib/{orm => Doctrine}/Adapter.php | 0 lib/{orm => Doctrine}/Adapter/Db2.php | 0 .../Adapter/Db2/Exception.php | 0 lib/{orm => Doctrine}/Adapter/Exception.php | 0 lib/{orm => Doctrine}/Adapter/Interface.php | 0 lib/{orm => Doctrine}/Adapter/Mock.php | 0 lib/{orm => Doctrine}/Adapter/Mysqli.php | 0 lib/{orm => Doctrine}/Adapter/Oracle.php | 0 lib/{orm => Doctrine}/Adapter/Resource.php | 0 lib/{orm => Doctrine}/Adapter/Statement.php | 0 .../Adapter/Statement/Interface.php | 0 .../Adapter/Statement/Mock.php | 0 lib/{orm => Doctrine}/AuditLog.php | 0 lib/{orm => Doctrine}/AuditLog/Listener.php | 0 lib/{orm => Doctrine}/Cache.php | 0 lib/{orm => Doctrine}/Cache/Apc.php | 0 lib/{orm => Doctrine}/Cache/Array.php | 0 lib/{orm => Doctrine}/Cache/Db.php | 0 lib/{orm => Doctrine}/Cache/Driver.php | 0 lib/{orm => Doctrine}/Cache/Exception.php | 0 lib/{orm => Doctrine}/Cache/Interface.php | 0 lib/{orm => Doctrine}/Cache/Memcache.php | 0 lib/{orm => Doctrine}/Cache/Xcache.php | 0 lib/{orm => Doctrine}/Cli.php | 0 .../Cli/AnsiColorFormatter.php | 0 lib/{orm => Doctrine}/Cli/Exception.php | 0 lib/{orm => Doctrine}/Cli/Formatter.php | 0 lib/{orm => Doctrine}/Collection.php | 0 .../Collection/Exception.php | 0 lib/{orm => Doctrine}/Collection/Iterator.php | 0 .../Collection/Iterator/Expandable.php | 0 .../Collection/Iterator/Normal.php | 0 .../Collection/Iterator/Offset.php | 0 lib/{orm => Doctrine}/Collection/Offset.php | 0 lib/{orm => Doctrine}/Column.php | 0 lib/{orm => Doctrine}/Compiler.php | 0 lib/{orm => Doctrine}/Compiler/Exception.php | 0 lib/{orm => Doctrine}/Configurable.php | 0 lib/{orm => Doctrine}/Connection.php | 0 lib/{orm => Doctrine}/Connection/Common.php | 0 lib/{orm => Doctrine}/Connection/Db2.php | 0 .../Connection/Exception.php | 0 lib/{orm => Doctrine}/Connection/Firebird.php | 0 .../Connection/Firebird/Exception.php | 0 lib/{orm => Doctrine}/Connection/Informix.php | 0 .../Connection/Informix/Exception.php | 0 lib/{orm => Doctrine}/Connection/Mock.php | 0 lib/{orm => Doctrine}/Connection/Module.php | 0 lib/{orm => Doctrine}/Connection/Mssql.php | 0 .../Connection/Mssql/Exception.php | 0 lib/{orm => Doctrine}/Connection/Mysql.php | 0 .../Connection/Mysql/Exception.php | 0 lib/{orm => Doctrine}/Connection/Oracle.php | 0 .../Connection/Oracle/Exception.php | 0 lib/{orm => Doctrine}/Connection/Pgsql.php | 0 .../Connection/Pgsql/Exception.php | 0 lib/{orm => Doctrine}/Connection/Profiler.php | 0 .../Connection/Profiler/Exception.php | 0 lib/{orm => Doctrine}/Connection/Sqlite.php | 0 .../Connection/Sqlite/Exception.php | 0 .../Connection/Statement.php | 0 .../Connection/UnitOfWork.php | 0 lib/{orm => Doctrine}/Data.php | 0 lib/{orm => Doctrine}/Data/Exception.php | 0 lib/{orm => Doctrine}/Data/Export.php | 0 lib/{orm => Doctrine}/Data/Import.php | 0 lib/{orm => Doctrine}/DataDict.php | 0 lib/{orm => Doctrine}/DataDict/Exception.php | 0 lib/{orm => Doctrine}/DataDict/Firebird.php | 0 lib/{orm => Doctrine}/DataDict/Informix.php | 0 lib/{orm => Doctrine}/DataDict/Mssql.php | 0 lib/{orm => Doctrine}/DataDict/Mysql.php | 0 lib/{orm => Doctrine}/DataDict/Oracle.php | 0 lib/{orm => Doctrine}/DataDict/Pgsql.php | 0 lib/{orm => Doctrine}/DataDict/Sqlite.php | 0 lib/{orm => Doctrine}/DataType.php | 0 lib/{orm => Doctrine}/Db.php | 0 lib/{orm => Doctrine}/Event.php | 0 lib/{orm => Doctrine}/EventListener.php | 0 lib/{orm => Doctrine}/EventListener/Chain.php | 0 .../EventListener/Exception.php | 0 .../EventListener/Interface.php | 0 lib/{orm => Doctrine}/Exception.php | 0 lib/{orm => Doctrine}/Export.php | 0 lib/{orm => Doctrine}/Export/Exception.php | 0 lib/{orm => Doctrine}/Export/Firebird.php | 0 lib/{orm => Doctrine}/Export/Frontbase.php | 0 lib/{orm => Doctrine}/Export/Mssql.php | 0 lib/{orm => Doctrine}/Export/Mysql.php | 0 lib/{orm => Doctrine}/Export/Oracle.php | 0 lib/{orm => Doctrine}/Export/Pgsql.php | 0 lib/{orm => Doctrine}/Export/Reporter.php | 0 lib/{orm => Doctrine}/Export/Schema.php | 0 lib/{orm => Doctrine}/Export/Sqlite.php | 0 lib/{orm => Doctrine}/Expression.php | 0 lib/{orm => Doctrine}/Expression/Driver.php | 0 .../Expression/Exception.php | 0 lib/{orm => Doctrine}/Expression/Firebird.php | 0 lib/{orm => Doctrine}/Expression/Informix.php | 0 lib/{orm => Doctrine}/Expression/Mock.php | 0 lib/{orm => Doctrine}/Expression/Mssql.php | 0 lib/{orm => Doctrine}/Expression/Mysql.php | 0 lib/{orm => Doctrine}/Expression/Oracle.php | 0 lib/{orm => Doctrine}/Expression/Pgsql.php | 0 lib/{orm => Doctrine}/Expression/Sqlite.php | 0 lib/{orm => Doctrine}/File.php | 0 lib/{orm => Doctrine}/File/Index.php | 0 lib/{orm => Doctrine}/FileFinder.php | 0 .../FileFinder/GlobToRegex.php | 0 .../FileFinder/NumberCompare.php | 0 lib/{orm => Doctrine}/Formatter.php | 0 lib/{orm => Doctrine}/Hook.php | 0 lib/{orm => Doctrine}/Hook/Equal.php | 0 lib/{orm => Doctrine}/Hook/Integer.php | 0 lib/{orm => Doctrine}/Hook/Parser.php | 0 lib/{orm => Doctrine}/Hook/Parser/Complex.php | 0 lib/{orm => Doctrine}/Hook/WordLike.php | 0 lib/{orm => Doctrine}/Hydrator.php | 0 lib/{orm => Doctrine}/Hydrator/Abstract.php | 0 .../Hydrator/ArrayDriver.php | 0 lib/{orm => Doctrine}/Hydrator/Exception.php | 0 .../Hydrator/RecordDriver.php | 0 lib/{orm => Doctrine}/I18n.php | 0 lib/{orm => Doctrine}/I18n/Exception.php | 0 lib/{orm => Doctrine}/Import.php | 0 lib/{orm => Doctrine}/Import/Builder.php | 0 .../Import/Builder/BaseClass.php | 0 .../Import/Builder/Exception.php | 0 lib/{orm => Doctrine}/Import/Exception.php | 0 lib/{orm => Doctrine}/Import/Firebird.php | 0 lib/{orm => Doctrine}/Import/Informix.php | 0 lib/{orm => Doctrine}/Import/Mssql.php | 0 lib/{orm => Doctrine}/Import/Mysql.php | 0 lib/{orm => Doctrine}/Import/Oracle.php | 0 lib/{orm => Doctrine}/Import/Pgsql.php | 0 lib/{orm => Doctrine}/Import/Reader.php | 0 lib/{orm => Doctrine}/Import/Reader/Db.php | 0 .../Import/Reader/Exception.php | 0 .../Import/Reader/Propel.php | 0 lib/{orm => Doctrine}/Import/Schema.php | 0 lib/{orm => Doctrine}/Import/Sqlite.php | 0 lib/{orm => Doctrine}/Inflector.php | 0 lib/{orm => Doctrine}/IntegrityMapper.php | 0 lib/{orm => Doctrine}/Lib.php | 2 +- lib/{orm => Doctrine}/Locator.php | 0 lib/{orm => Doctrine}/Locator/Exception.php | 0 lib/{orm => Doctrine}/Locator/Injectable.php | 0 lib/{orm => Doctrine}/Locking/Exception.php | 0 .../Locking/Manager/Pessimistic.php | 0 lib/{orm => Doctrine}/Log.php | 0 lib/{orm => Doctrine}/Log/Exception.php | 0 .../Log/Filter/Interface.php | 0 lib/{orm => Doctrine}/Log/Filter/Message.php | 0 lib/{orm => Doctrine}/Log/Filter/Priority.php | 0 lib/{orm => Doctrine}/Log/Filter/Suppress.php | 0 .../Log/Formatter/Interface.php | 0 .../Log/Formatter/Simple.php | 0 lib/{orm => Doctrine}/Log/Formatter/Xml.php | 0 lib/{orm => Doctrine}/Log/Writer/Abstract.php | 0 lib/{orm => Doctrine}/Log/Writer/Db.php | 0 lib/{orm => Doctrine}/Log/Writer/Mock.php | 0 lib/{orm => Doctrine}/Log/Writer/Null.php | 0 lib/{orm => Doctrine}/Log/Writer/Stream.php | 0 lib/{orm => Doctrine}/Manager.php | 0 lib/{orm => Doctrine}/Manager/Exception.php | 0 lib/{orm => Doctrine}/Migration.php | 0 lib/{orm => Doctrine}/Migration/Builder.php | 0 lib/{orm => Doctrine}/Migration/Exception.php | 0 .../IrreversibleMigrationException.php | 0 lib/{orm => Doctrine}/Migration/Process.php | 0 lib/{orm => Doctrine}/Node.php | 0 lib/{orm => Doctrine}/Node/AdjacencyList.php | 0 .../Node/AdjacencyList/LevelOrderIterator.php | 0 .../Node/AdjacencyList/PostOrderIterator.php | 0 .../Node/AdjacencyList/PreOrderIterator.php | 0 lib/{orm => Doctrine}/Node/Exception.php | 0 lib/{orm => Doctrine}/Node/Interface.php | 0 .../Node/MaterializedPath.php | 0 .../MaterializedPath/LevelOrderIterator.php | 0 .../MaterializedPath/PostOrderIterator.php | 0 .../MaterializedPath/PreOrderIterator.php | 0 lib/{orm => Doctrine}/Node/NestedSet.php | 0 .../Node/NestedSet/LevelOrderIterator.php | 0 .../Node/NestedSet/PostOrderIterator.php | 0 .../Node/NestedSet/PreOrderIterator.php | 0 lib/{orm => Doctrine}/Null.php | 0 lib/{orm => Doctrine}/Overloadable.php | 0 lib/{orm => Doctrine}/Pager.php | 0 lib/{orm => Doctrine}/Pager/Exception.php | 0 lib/{orm => Doctrine}/Pager/Layout.php | 0 lib/{orm => Doctrine}/Pager/Range.php | 0 lib/{orm => Doctrine}/Pager/Range/Jumping.php | 0 lib/{orm => Doctrine}/Pager/Range/Sliding.php | 0 lib/{orm => Doctrine}/Parser.php | 0 lib/{orm => Doctrine}/Parser/Exception.php | 0 lib/{orm => Doctrine}/Parser/Json.php | 0 lib/{orm => Doctrine}/Parser/Serialize.php | 0 lib/{orm => Doctrine}/Parser/Xml.php | 0 lib/{orm => Doctrine}/Parser/Yml.php | 0 lib/{orm => Doctrine}/Parser/spyc.php | 0 lib/{orm => Doctrine}/Query.php | 0 lib/{orm => Doctrine}/Query/Abstract.php | 0 lib/{orm => Doctrine}/Query/Check.php | 0 lib/{orm => Doctrine}/Query/Condition.php | 0 lib/{orm => Doctrine}/Query/Exception.php | 0 lib/{orm => Doctrine}/Query/Filter.php | 0 lib/{orm => Doctrine}/Query/Filter/Chain.php | 0 .../Query/Filter/Interface.php | 0 lib/{orm => Doctrine}/Query/From.php | 0 lib/{orm => Doctrine}/Query/Groupby.php | 0 lib/{orm => Doctrine}/Query/Having.php | 0 lib/{orm => Doctrine}/Query/JoinCondition.php | 0 lib/{orm => Doctrine}/Query/Limit.php | 0 lib/{orm => Doctrine}/Query/Offset.php | 0 lib/{orm => Doctrine}/Query/Orderby.php | 0 lib/{orm => Doctrine}/Query/Parser.php | 0 lib/{orm => Doctrine}/Query/Part.php | 0 lib/{orm => Doctrine}/Query/Registry.php | 0 .../Query/Registry/Exception.php | 0 lib/{orm => Doctrine}/Query/Select.php | 0 lib/{orm => Doctrine}/Query/Set.php | 0 lib/{orm => Doctrine}/Query/Tokenizer.php | 0 .../Query/Tokenizer/Exception.php | 0 lib/{orm => Doctrine}/Query/Where.php | 0 lib/{orm => Doctrine}/RawSql.php | 0 lib/{orm => Doctrine}/RawSql/Exception.php | 0 lib/{orm => Doctrine}/Record.php | 0 lib/{orm => Doctrine}/Record/Abstract.php | 0 lib/{orm => Doctrine}/Record/Exception.php | 0 lib/{orm => Doctrine}/Record/Filter.php | 0 .../Record/Filter/Compound.php | 0 .../Record/Filter/Standard.php | 0 lib/{orm => Doctrine}/Record/Generator.php | 0 lib/{orm => Doctrine}/Record/Iterator.php | 0 lib/{orm => Doctrine}/Record/Listener.php | 0 .../Record/Listener/Chain.php | 0 .../Record/Listener/Interface.php | 0 .../Record/State/Exception.php | 0 lib/{orm => Doctrine}/Relation.php | 0 .../Relation/Association.php | 0 .../Relation/Association/Self.php | 0 lib/{orm => Doctrine}/Relation/Exception.php | 0 lib/{orm => Doctrine}/Relation/ForeignKey.php | 0 lib/{orm => Doctrine}/Relation/LocalKey.php | 0 lib/{orm => Doctrine}/Relation/Nest.php | 0 lib/{orm => Doctrine}/Relation/Parser.php | 0 .../Relation/Parser/Exception.php | 0 lib/{orm => Doctrine}/Search.php | 0 lib/{orm => Doctrine}/Search/Analyzer.php | 0 .../Search/Analyzer/Exception.php | 0 .../Search/Analyzer/Interface.php | 0 .../Search/Analyzer/Standard.php | 0 lib/{orm => Doctrine}/Search/Exception.php | 0 lib/{orm => Doctrine}/Search/File.php | 0 lib/{orm => Doctrine}/Search/Indexer.php | 0 lib/{orm => Doctrine}/Search/Indexer/Dir.php | 0 .../Search/Indexer/Exception.php | 0 lib/{orm => Doctrine}/Search/Listener.php | 0 lib/{orm => Doctrine}/Search/Parser.php | 0 lib/{orm => Doctrine}/Search/Query.php | 0 lib/{orm => Doctrine}/Search/Record.php | 0 lib/{orm => Doctrine}/Search/Scorer.php | 0 lib/{orm => Doctrine}/Sequence.php | 0 lib/{orm => Doctrine}/Sequence/Db2.php | 0 lib/{orm => Doctrine}/Sequence/Exception.php | 0 lib/{orm => Doctrine}/Sequence/Firebird.php | 0 lib/{orm => Doctrine}/Sequence/Informix.php | 0 lib/{orm => Doctrine}/Sequence/Mssql.php | 0 lib/{orm => Doctrine}/Sequence/Mysql.php | 0 lib/{orm => Doctrine}/Sequence/Oracle.php | 0 lib/{orm => Doctrine}/Sequence/Pgsql.php | 0 lib/{orm => Doctrine}/Sequence/Sqlite.php | 0 lib/{orm => Doctrine}/Table.php | 0 lib/{orm => Doctrine}/Table/Exception.php | 0 lib/{orm => Doctrine}/Table/Repository.php | 0 .../Table/Repository/Exception.php | 0 lib/{orm => Doctrine}/Task.php | 0 lib/{orm => Doctrine}/Task/BuildAll.php | 0 lib/{orm => Doctrine}/Task/BuildAllLoad.php | 0 lib/{orm => Doctrine}/Task/BuildAllReload.php | 0 lib/{orm => Doctrine}/Task/Compile.php | 0 lib/{orm => Doctrine}/Task/CreateDb.php | 0 lib/{orm => Doctrine}/Task/CreateTables.php | 0 lib/{orm => Doctrine}/Task/Dql.php | 0 lib/{orm => Doctrine}/Task/DropDb.php | 0 lib/{orm => Doctrine}/Task/DumpData.php | 0 lib/{orm => Doctrine}/Task/Exception.php | 0 .../Task/GenerateMigration.php | 0 .../Task/GenerateMigrationsDb.php | 0 .../Task/GenerateMigrationsModels.php | 0 .../Task/GenerateModelsDb.php | 0 .../Task/GenerateModelsYaml.php | 0 lib/{orm => Doctrine}/Task/GenerateSql.php | 0 lib/{orm => Doctrine}/Task/GenerateYamlDb.php | 0 .../Task/GenerateYamlModels.php | 0 lib/{orm => Doctrine}/Task/LoadData.php | 0 lib/{orm => Doctrine}/Task/LoadDummyData.php | 0 lib/{orm => Doctrine}/Task/Migrate.php | 0 lib/{orm => Doctrine}/Task/RebuildDb.php | 0 lib/{orm => Doctrine}/Template.php | 0 .../Template/Geographical.php | 0 lib/{orm => Doctrine}/Template/I18n.php | 0 .../Template/Listener/Sluggable.php | 0 .../Template/Listener/Timestampable.php | 0 lib/{orm => Doctrine}/Template/NestedSet.php | 0 lib/{orm => Doctrine}/Template/Searchable.php | 0 lib/{orm => Doctrine}/Template/Sluggable.php | 0 lib/{orm => Doctrine}/Template/Taggable.php | 0 .../Template/Timestampable.php | 0 .../Template/Versionable.php | 0 lib/{orm => Doctrine}/Transaction.php | 0 .../Transaction/Exception.php | 0 .../Transaction/Firebird.php | 0 .../Transaction/Informix.php | 0 lib/{orm => Doctrine}/Transaction/Mock.php | 0 lib/{orm => Doctrine}/Transaction/Mssql.php | 0 lib/{orm => Doctrine}/Transaction/Mysql.php | 0 lib/{orm => Doctrine}/Transaction/Oracle.php | 0 lib/{orm => Doctrine}/Transaction/Pgsql.php | 0 lib/{orm => Doctrine}/Transaction/Sqlite.php | 0 lib/{orm => Doctrine}/Tree.php | 0 lib/{orm => Doctrine}/Tree/AdjacencyList.php | 0 lib/{orm => Doctrine}/Tree/Exception.php | 0 lib/{orm => Doctrine}/Tree/Interface.php | 0 .../Tree/MaterializedPath.php | 0 lib/{orm => Doctrine}/Tree/NestedSet.php | 0 lib/{orm => Doctrine}/Util.php | 0 lib/{orm => Doctrine}/Validator.php | 0 lib/{orm => Doctrine}/Validator/Country.php | 0 .../Validator/Creditcard.php | 0 lib/{orm => Doctrine}/Validator/Date.php | 0 lib/{orm => Doctrine}/Validator/Driver.php | 0 lib/{orm => Doctrine}/Validator/Email.php | 0 .../Validator/ErrorStack.php | 0 lib/{orm => Doctrine}/Validator/Exception.php | 0 lib/{orm => Doctrine}/Validator/Future.php | 0 lib/{orm => Doctrine}/Validator/Htmlcolor.php | 0 lib/{orm => Doctrine}/Validator/Ip.php | 0 lib/{orm => Doctrine}/Validator/Minlength.php | 0 lib/{orm => Doctrine}/Validator/Nospace.php | 0 lib/{orm => Doctrine}/Validator/Notblank.php | 0 lib/{orm => Doctrine}/Validator/Notnull.php | 0 lib/{orm => Doctrine}/Validator/Past.php | 0 lib/{orm => Doctrine}/Validator/Protected.php | 0 lib/{orm => Doctrine}/Validator/Range.php | 0 lib/{orm => Doctrine}/Validator/Regexp.php | 0 lib/{orm => Doctrine}/Validator/Unique.php | 0 lib/{orm => Doctrine}/Validator/Unsigned.php | 0 lib/{orm => Doctrine}/Validator/Usstate.php | 0 lib/{orm => Doctrine}/View.php | 0 lib/{orm => Doctrine}/View/Exception.php | 0 353 files changed, 178 insertions(+), 226 deletions(-) rename lib/{orm => Doctrine}/Access.php (100%) rename lib/{orm => Doctrine}/Adapter.php (100%) rename lib/{orm => Doctrine}/Adapter/Db2.php (100%) rename lib/{orm => Doctrine}/Adapter/Db2/Exception.php (100%) rename lib/{orm => Doctrine}/Adapter/Exception.php (100%) rename lib/{orm => Doctrine}/Adapter/Interface.php (100%) rename lib/{orm => Doctrine}/Adapter/Mock.php (100%) rename lib/{orm => Doctrine}/Adapter/Mysqli.php (100%) rename lib/{orm => Doctrine}/Adapter/Oracle.php (100%) rename lib/{orm => Doctrine}/Adapter/Resource.php (100%) rename lib/{orm => Doctrine}/Adapter/Statement.php (100%) rename lib/{orm => Doctrine}/Adapter/Statement/Interface.php (100%) rename lib/{orm => Doctrine}/Adapter/Statement/Mock.php (100%) rename lib/{orm => Doctrine}/AuditLog.php (100%) rename lib/{orm => Doctrine}/AuditLog/Listener.php (100%) rename lib/{orm => Doctrine}/Cache.php (100%) rename lib/{orm => Doctrine}/Cache/Apc.php (100%) rename lib/{orm => Doctrine}/Cache/Array.php (100%) rename lib/{orm => Doctrine}/Cache/Db.php (100%) rename lib/{orm => Doctrine}/Cache/Driver.php (100%) rename lib/{orm => Doctrine}/Cache/Exception.php (100%) rename lib/{orm => Doctrine}/Cache/Interface.php (100%) rename lib/{orm => Doctrine}/Cache/Memcache.php (100%) rename lib/{orm => Doctrine}/Cache/Xcache.php (100%) rename lib/{orm => Doctrine}/Cli.php (100%) rename lib/{orm => Doctrine}/Cli/AnsiColorFormatter.php (100%) rename lib/{orm => Doctrine}/Cli/Exception.php (100%) rename lib/{orm => Doctrine}/Cli/Formatter.php (100%) rename lib/{orm => Doctrine}/Collection.php (100%) rename lib/{orm => Doctrine}/Collection/Exception.php (100%) rename lib/{orm => Doctrine}/Collection/Iterator.php (100%) rename lib/{orm => Doctrine}/Collection/Iterator/Expandable.php (100%) rename lib/{orm => Doctrine}/Collection/Iterator/Normal.php (100%) rename lib/{orm => Doctrine}/Collection/Iterator/Offset.php (100%) rename lib/{orm => Doctrine}/Collection/Offset.php (100%) rename lib/{orm => Doctrine}/Column.php (100%) rename lib/{orm => Doctrine}/Compiler.php (100%) rename lib/{orm => Doctrine}/Compiler/Exception.php (100%) rename lib/{orm => Doctrine}/Configurable.php (100%) rename lib/{orm => Doctrine}/Connection.php (100%) rename lib/{orm => Doctrine}/Connection/Common.php (100%) rename lib/{orm => Doctrine}/Connection/Db2.php (100%) rename lib/{orm => Doctrine}/Connection/Exception.php (100%) rename lib/{orm => Doctrine}/Connection/Firebird.php (100%) rename lib/{orm => Doctrine}/Connection/Firebird/Exception.php (100%) rename lib/{orm => Doctrine}/Connection/Informix.php (100%) rename lib/{orm => Doctrine}/Connection/Informix/Exception.php (100%) rename lib/{orm => Doctrine}/Connection/Mock.php (100%) rename lib/{orm => Doctrine}/Connection/Module.php (100%) rename lib/{orm => Doctrine}/Connection/Mssql.php (100%) rename lib/{orm => Doctrine}/Connection/Mssql/Exception.php (100%) rename lib/{orm => Doctrine}/Connection/Mysql.php (100%) rename lib/{orm => Doctrine}/Connection/Mysql/Exception.php (100%) rename lib/{orm => Doctrine}/Connection/Oracle.php (100%) rename lib/{orm => Doctrine}/Connection/Oracle/Exception.php (100%) rename lib/{orm => Doctrine}/Connection/Pgsql.php (100%) rename lib/{orm => Doctrine}/Connection/Pgsql/Exception.php (100%) rename lib/{orm => Doctrine}/Connection/Profiler.php (100%) rename lib/{orm => Doctrine}/Connection/Profiler/Exception.php (100%) rename lib/{orm => Doctrine}/Connection/Sqlite.php (100%) rename lib/{orm => Doctrine}/Connection/Sqlite/Exception.php (100%) rename lib/{orm => Doctrine}/Connection/Statement.php (100%) rename lib/{orm => Doctrine}/Connection/UnitOfWork.php (100%) rename lib/{orm => Doctrine}/Data.php (100%) rename lib/{orm => Doctrine}/Data/Exception.php (100%) rename lib/{orm => Doctrine}/Data/Export.php (100%) rename lib/{orm => Doctrine}/Data/Import.php (100%) rename lib/{orm => Doctrine}/DataDict.php (100%) rename lib/{orm => Doctrine}/DataDict/Exception.php (100%) rename lib/{orm => Doctrine}/DataDict/Firebird.php (100%) rename lib/{orm => Doctrine}/DataDict/Informix.php (100%) rename lib/{orm => Doctrine}/DataDict/Mssql.php (100%) rename lib/{orm => Doctrine}/DataDict/Mysql.php (100%) rename lib/{orm => Doctrine}/DataDict/Oracle.php (100%) rename lib/{orm => Doctrine}/DataDict/Pgsql.php (100%) rename lib/{orm => Doctrine}/DataDict/Sqlite.php (100%) rename lib/{orm => Doctrine}/DataType.php (100%) rename lib/{orm => Doctrine}/Db.php (100%) rename lib/{orm => Doctrine}/Event.php (100%) rename lib/{orm => Doctrine}/EventListener.php (100%) rename lib/{orm => Doctrine}/EventListener/Chain.php (100%) rename lib/{orm => Doctrine}/EventListener/Exception.php (100%) rename lib/{orm => Doctrine}/EventListener/Interface.php (100%) rename lib/{orm => Doctrine}/Exception.php (100%) rename lib/{orm => Doctrine}/Export.php (100%) rename lib/{orm => Doctrine}/Export/Exception.php (100%) rename lib/{orm => Doctrine}/Export/Firebird.php (100%) rename lib/{orm => Doctrine}/Export/Frontbase.php (100%) rename lib/{orm => Doctrine}/Export/Mssql.php (100%) rename lib/{orm => Doctrine}/Export/Mysql.php (100%) rename lib/{orm => Doctrine}/Export/Oracle.php (100%) rename lib/{orm => Doctrine}/Export/Pgsql.php (100%) rename lib/{orm => Doctrine}/Export/Reporter.php (100%) rename lib/{orm => Doctrine}/Export/Schema.php (100%) rename lib/{orm => Doctrine}/Export/Sqlite.php (100%) rename lib/{orm => Doctrine}/Expression.php (100%) rename lib/{orm => Doctrine}/Expression/Driver.php (100%) rename lib/{orm => Doctrine}/Expression/Exception.php (100%) rename lib/{orm => Doctrine}/Expression/Firebird.php (100%) rename lib/{orm => Doctrine}/Expression/Informix.php (100%) rename lib/{orm => Doctrine}/Expression/Mock.php (100%) rename lib/{orm => Doctrine}/Expression/Mssql.php (100%) rename lib/{orm => Doctrine}/Expression/Mysql.php (100%) rename lib/{orm => Doctrine}/Expression/Oracle.php (100%) rename lib/{orm => Doctrine}/Expression/Pgsql.php (100%) rename lib/{orm => Doctrine}/Expression/Sqlite.php (100%) rename lib/{orm => Doctrine}/File.php (100%) rename lib/{orm => Doctrine}/File/Index.php (100%) rename lib/{orm => Doctrine}/FileFinder.php (100%) rename lib/{orm => Doctrine}/FileFinder/GlobToRegex.php (100%) rename lib/{orm => Doctrine}/FileFinder/NumberCompare.php (100%) rename lib/{orm => Doctrine}/Formatter.php (100%) rename lib/{orm => Doctrine}/Hook.php (100%) rename lib/{orm => Doctrine}/Hook/Equal.php (100%) rename lib/{orm => Doctrine}/Hook/Integer.php (100%) rename lib/{orm => Doctrine}/Hook/Parser.php (100%) rename lib/{orm => Doctrine}/Hook/Parser/Complex.php (100%) rename lib/{orm => Doctrine}/Hook/WordLike.php (100%) rename lib/{orm => Doctrine}/Hydrator.php (100%) rename lib/{orm => Doctrine}/Hydrator/Abstract.php (100%) rename lib/{orm => Doctrine}/Hydrator/ArrayDriver.php (100%) rename lib/{orm => Doctrine}/Hydrator/Exception.php (100%) rename lib/{orm => Doctrine}/Hydrator/RecordDriver.php (100%) rename lib/{orm => Doctrine}/I18n.php (100%) rename lib/{orm => Doctrine}/I18n/Exception.php (100%) rename lib/{orm => Doctrine}/Import.php (100%) rename lib/{orm => Doctrine}/Import/Builder.php (100%) rename lib/{orm => Doctrine}/Import/Builder/BaseClass.php (100%) rename lib/{orm => Doctrine}/Import/Builder/Exception.php (100%) rename lib/{orm => Doctrine}/Import/Exception.php (100%) rename lib/{orm => Doctrine}/Import/Firebird.php (100%) rename lib/{orm => Doctrine}/Import/Informix.php (100%) rename lib/{orm => Doctrine}/Import/Mssql.php (100%) rename lib/{orm => Doctrine}/Import/Mysql.php (100%) rename lib/{orm => Doctrine}/Import/Oracle.php (100%) rename lib/{orm => Doctrine}/Import/Pgsql.php (100%) rename lib/{orm => Doctrine}/Import/Reader.php (100%) rename lib/{orm => Doctrine}/Import/Reader/Db.php (100%) rename lib/{orm => Doctrine}/Import/Reader/Exception.php (100%) rename lib/{orm => Doctrine}/Import/Reader/Propel.php (100%) rename lib/{orm => Doctrine}/Import/Schema.php (100%) rename lib/{orm => Doctrine}/Import/Sqlite.php (100%) rename lib/{orm => Doctrine}/Inflector.php (100%) rename lib/{orm => Doctrine}/IntegrityMapper.php (100%) rename lib/{orm => Doctrine}/Lib.php (96%) rename lib/{orm => Doctrine}/Locator.php (100%) rename lib/{orm => Doctrine}/Locator/Exception.php (100%) rename lib/{orm => Doctrine}/Locator/Injectable.php (100%) rename lib/{orm => Doctrine}/Locking/Exception.php (100%) rename lib/{orm => Doctrine}/Locking/Manager/Pessimistic.php (100%) rename lib/{orm => Doctrine}/Log.php (100%) rename lib/{orm => Doctrine}/Log/Exception.php (100%) rename lib/{orm => Doctrine}/Log/Filter/Interface.php (100%) rename lib/{orm => Doctrine}/Log/Filter/Message.php (100%) rename lib/{orm => Doctrine}/Log/Filter/Priority.php (100%) rename lib/{orm => Doctrine}/Log/Filter/Suppress.php (100%) rename lib/{orm => Doctrine}/Log/Formatter/Interface.php (100%) rename lib/{orm => Doctrine}/Log/Formatter/Simple.php (100%) rename lib/{orm => Doctrine}/Log/Formatter/Xml.php (100%) rename lib/{orm => Doctrine}/Log/Writer/Abstract.php (100%) rename lib/{orm => Doctrine}/Log/Writer/Db.php (100%) rename lib/{orm => Doctrine}/Log/Writer/Mock.php (100%) rename lib/{orm => Doctrine}/Log/Writer/Null.php (100%) rename lib/{orm => Doctrine}/Log/Writer/Stream.php (100%) rename lib/{orm => Doctrine}/Manager.php (100%) rename lib/{orm => Doctrine}/Manager/Exception.php (100%) rename lib/{orm => Doctrine}/Migration.php (100%) rename lib/{orm => Doctrine}/Migration/Builder.php (100%) rename lib/{orm => Doctrine}/Migration/Exception.php (100%) rename lib/{orm => Doctrine}/Migration/IrreversibleMigrationException.php (100%) rename lib/{orm => Doctrine}/Migration/Process.php (100%) rename lib/{orm => Doctrine}/Node.php (100%) rename lib/{orm => Doctrine}/Node/AdjacencyList.php (100%) rename lib/{orm => Doctrine}/Node/AdjacencyList/LevelOrderIterator.php (100%) rename lib/{orm => Doctrine}/Node/AdjacencyList/PostOrderIterator.php (100%) rename lib/{orm => Doctrine}/Node/AdjacencyList/PreOrderIterator.php (100%) rename lib/{orm => Doctrine}/Node/Exception.php (100%) rename lib/{orm => Doctrine}/Node/Interface.php (100%) rename lib/{orm => Doctrine}/Node/MaterializedPath.php (100%) rename lib/{orm => Doctrine}/Node/MaterializedPath/LevelOrderIterator.php (100%) rename lib/{orm => Doctrine}/Node/MaterializedPath/PostOrderIterator.php (100%) rename lib/{orm => Doctrine}/Node/MaterializedPath/PreOrderIterator.php (100%) rename lib/{orm => Doctrine}/Node/NestedSet.php (100%) rename lib/{orm => Doctrine}/Node/NestedSet/LevelOrderIterator.php (100%) rename lib/{orm => Doctrine}/Node/NestedSet/PostOrderIterator.php (100%) rename lib/{orm => Doctrine}/Node/NestedSet/PreOrderIterator.php (100%) rename lib/{orm => Doctrine}/Null.php (100%) rename lib/{orm => Doctrine}/Overloadable.php (100%) rename lib/{orm => Doctrine}/Pager.php (100%) rename lib/{orm => Doctrine}/Pager/Exception.php (100%) rename lib/{orm => Doctrine}/Pager/Layout.php (100%) rename lib/{orm => Doctrine}/Pager/Range.php (100%) rename lib/{orm => Doctrine}/Pager/Range/Jumping.php (100%) rename lib/{orm => Doctrine}/Pager/Range/Sliding.php (100%) rename lib/{orm => Doctrine}/Parser.php (100%) rename lib/{orm => Doctrine}/Parser/Exception.php (100%) rename lib/{orm => Doctrine}/Parser/Json.php (100%) rename lib/{orm => Doctrine}/Parser/Serialize.php (100%) rename lib/{orm => Doctrine}/Parser/Xml.php (100%) rename lib/{orm => Doctrine}/Parser/Yml.php (100%) rename lib/{orm => Doctrine}/Parser/spyc.php (100%) rename lib/{orm => Doctrine}/Query.php (100%) rename lib/{orm => Doctrine}/Query/Abstract.php (100%) rename lib/{orm => Doctrine}/Query/Check.php (100%) rename lib/{orm => Doctrine}/Query/Condition.php (100%) rename lib/{orm => Doctrine}/Query/Exception.php (100%) rename lib/{orm => Doctrine}/Query/Filter.php (100%) rename lib/{orm => Doctrine}/Query/Filter/Chain.php (100%) rename lib/{orm => Doctrine}/Query/Filter/Interface.php (100%) rename lib/{orm => Doctrine}/Query/From.php (100%) rename lib/{orm => Doctrine}/Query/Groupby.php (100%) rename lib/{orm => Doctrine}/Query/Having.php (100%) rename lib/{orm => Doctrine}/Query/JoinCondition.php (100%) rename lib/{orm => Doctrine}/Query/Limit.php (100%) rename lib/{orm => Doctrine}/Query/Offset.php (100%) rename lib/{orm => Doctrine}/Query/Orderby.php (100%) rename lib/{orm => Doctrine}/Query/Parser.php (100%) rename lib/{orm => Doctrine}/Query/Part.php (100%) rename lib/{orm => Doctrine}/Query/Registry.php (100%) rename lib/{orm => Doctrine}/Query/Registry/Exception.php (100%) rename lib/{orm => Doctrine}/Query/Select.php (100%) rename lib/{orm => Doctrine}/Query/Set.php (100%) rename lib/{orm => Doctrine}/Query/Tokenizer.php (100%) rename lib/{orm => Doctrine}/Query/Tokenizer/Exception.php (100%) rename lib/{orm => Doctrine}/Query/Where.php (100%) rename lib/{orm => Doctrine}/RawSql.php (100%) rename lib/{orm => Doctrine}/RawSql/Exception.php (100%) rename lib/{orm => Doctrine}/Record.php (100%) rename lib/{orm => Doctrine}/Record/Abstract.php (100%) rename lib/{orm => Doctrine}/Record/Exception.php (100%) rename lib/{orm => Doctrine}/Record/Filter.php (100%) rename lib/{orm => Doctrine}/Record/Filter/Compound.php (100%) rename lib/{orm => Doctrine}/Record/Filter/Standard.php (100%) rename lib/{orm => Doctrine}/Record/Generator.php (100%) rename lib/{orm => Doctrine}/Record/Iterator.php (100%) rename lib/{orm => Doctrine}/Record/Listener.php (100%) rename lib/{orm => Doctrine}/Record/Listener/Chain.php (100%) rename lib/{orm => Doctrine}/Record/Listener/Interface.php (100%) rename lib/{orm => Doctrine}/Record/State/Exception.php (100%) rename lib/{orm => Doctrine}/Relation.php (100%) rename lib/{orm => Doctrine}/Relation/Association.php (100%) rename lib/{orm => Doctrine}/Relation/Association/Self.php (100%) rename lib/{orm => Doctrine}/Relation/Exception.php (100%) rename lib/{orm => Doctrine}/Relation/ForeignKey.php (100%) rename lib/{orm => Doctrine}/Relation/LocalKey.php (100%) rename lib/{orm => Doctrine}/Relation/Nest.php (100%) rename lib/{orm => Doctrine}/Relation/Parser.php (100%) rename lib/{orm => Doctrine}/Relation/Parser/Exception.php (100%) rename lib/{orm => Doctrine}/Search.php (100%) rename lib/{orm => Doctrine}/Search/Analyzer.php (100%) rename lib/{orm => Doctrine}/Search/Analyzer/Exception.php (100%) rename lib/{orm => Doctrine}/Search/Analyzer/Interface.php (100%) rename lib/{orm => Doctrine}/Search/Analyzer/Standard.php (100%) rename lib/{orm => Doctrine}/Search/Exception.php (100%) rename lib/{orm => Doctrine}/Search/File.php (100%) rename lib/{orm => Doctrine}/Search/Indexer.php (100%) rename lib/{orm => Doctrine}/Search/Indexer/Dir.php (100%) rename lib/{orm => Doctrine}/Search/Indexer/Exception.php (100%) rename lib/{orm => Doctrine}/Search/Listener.php (100%) rename lib/{orm => Doctrine}/Search/Parser.php (100%) rename lib/{orm => Doctrine}/Search/Query.php (100%) rename lib/{orm => Doctrine}/Search/Record.php (100%) rename lib/{orm => Doctrine}/Search/Scorer.php (100%) rename lib/{orm => Doctrine}/Sequence.php (100%) rename lib/{orm => Doctrine}/Sequence/Db2.php (100%) rename lib/{orm => Doctrine}/Sequence/Exception.php (100%) rename lib/{orm => Doctrine}/Sequence/Firebird.php (100%) rename lib/{orm => Doctrine}/Sequence/Informix.php (100%) rename lib/{orm => Doctrine}/Sequence/Mssql.php (100%) rename lib/{orm => Doctrine}/Sequence/Mysql.php (100%) rename lib/{orm => Doctrine}/Sequence/Oracle.php (100%) rename lib/{orm => Doctrine}/Sequence/Pgsql.php (100%) rename lib/{orm => Doctrine}/Sequence/Sqlite.php (100%) rename lib/{orm => Doctrine}/Table.php (100%) rename lib/{orm => Doctrine}/Table/Exception.php (100%) rename lib/{orm => Doctrine}/Table/Repository.php (100%) rename lib/{orm => Doctrine}/Table/Repository/Exception.php (100%) rename lib/{orm => Doctrine}/Task.php (100%) rename lib/{orm => Doctrine}/Task/BuildAll.php (100%) rename lib/{orm => Doctrine}/Task/BuildAllLoad.php (100%) rename lib/{orm => Doctrine}/Task/BuildAllReload.php (100%) rename lib/{orm => Doctrine}/Task/Compile.php (100%) rename lib/{orm => Doctrine}/Task/CreateDb.php (100%) rename lib/{orm => Doctrine}/Task/CreateTables.php (100%) rename lib/{orm => Doctrine}/Task/Dql.php (100%) rename lib/{orm => Doctrine}/Task/DropDb.php (100%) rename lib/{orm => Doctrine}/Task/DumpData.php (100%) rename lib/{orm => Doctrine}/Task/Exception.php (100%) rename lib/{orm => Doctrine}/Task/GenerateMigration.php (100%) rename lib/{orm => Doctrine}/Task/GenerateMigrationsDb.php (100%) rename lib/{orm => Doctrine}/Task/GenerateMigrationsModels.php (100%) rename lib/{orm => Doctrine}/Task/GenerateModelsDb.php (100%) rename lib/{orm => Doctrine}/Task/GenerateModelsYaml.php (100%) rename lib/{orm => Doctrine}/Task/GenerateSql.php (100%) rename lib/{orm => Doctrine}/Task/GenerateYamlDb.php (100%) rename lib/{orm => Doctrine}/Task/GenerateYamlModels.php (100%) rename lib/{orm => Doctrine}/Task/LoadData.php (100%) rename lib/{orm => Doctrine}/Task/LoadDummyData.php (100%) rename lib/{orm => Doctrine}/Task/Migrate.php (100%) rename lib/{orm => Doctrine}/Task/RebuildDb.php (100%) rename lib/{orm => Doctrine}/Template.php (100%) rename lib/{orm => Doctrine}/Template/Geographical.php (100%) rename lib/{orm => Doctrine}/Template/I18n.php (100%) rename lib/{orm => Doctrine}/Template/Listener/Sluggable.php (100%) rename lib/{orm => Doctrine}/Template/Listener/Timestampable.php (100%) rename lib/{orm => Doctrine}/Template/NestedSet.php (100%) rename lib/{orm => Doctrine}/Template/Searchable.php (100%) rename lib/{orm => Doctrine}/Template/Sluggable.php (100%) rename lib/{orm => Doctrine}/Template/Taggable.php (100%) rename lib/{orm => Doctrine}/Template/Timestampable.php (100%) rename lib/{orm => Doctrine}/Template/Versionable.php (100%) rename lib/{orm => Doctrine}/Transaction.php (100%) rename lib/{orm => Doctrine}/Transaction/Exception.php (100%) rename lib/{orm => Doctrine}/Transaction/Firebird.php (100%) rename lib/{orm => Doctrine}/Transaction/Informix.php (100%) rename lib/{orm => Doctrine}/Transaction/Mock.php (100%) rename lib/{orm => Doctrine}/Transaction/Mssql.php (100%) rename lib/{orm => Doctrine}/Transaction/Mysql.php (100%) rename lib/{orm => Doctrine}/Transaction/Oracle.php (100%) rename lib/{orm => Doctrine}/Transaction/Pgsql.php (100%) rename lib/{orm => Doctrine}/Transaction/Sqlite.php (100%) rename lib/{orm => Doctrine}/Tree.php (100%) rename lib/{orm => Doctrine}/Tree/AdjacencyList.php (100%) rename lib/{orm => Doctrine}/Tree/Exception.php (100%) rename lib/{orm => Doctrine}/Tree/Interface.php (100%) rename lib/{orm => Doctrine}/Tree/MaterializedPath.php (100%) rename lib/{orm => Doctrine}/Tree/NestedSet.php (100%) rename lib/{orm => Doctrine}/Util.php (100%) rename lib/{orm => Doctrine}/Validator.php (100%) rename lib/{orm => Doctrine}/Validator/Country.php (100%) rename lib/{orm => Doctrine}/Validator/Creditcard.php (100%) rename lib/{orm => Doctrine}/Validator/Date.php (100%) rename lib/{orm => Doctrine}/Validator/Driver.php (100%) rename lib/{orm => Doctrine}/Validator/Email.php (100%) rename lib/{orm => Doctrine}/Validator/ErrorStack.php (100%) rename lib/{orm => Doctrine}/Validator/Exception.php (100%) rename lib/{orm => Doctrine}/Validator/Future.php (100%) rename lib/{orm => Doctrine}/Validator/Htmlcolor.php (100%) rename lib/{orm => Doctrine}/Validator/Ip.php (100%) rename lib/{orm => Doctrine}/Validator/Minlength.php (100%) rename lib/{orm => Doctrine}/Validator/Nospace.php (100%) rename lib/{orm => Doctrine}/Validator/Notblank.php (100%) rename lib/{orm => Doctrine}/Validator/Notnull.php (100%) rename lib/{orm => Doctrine}/Validator/Past.php (100%) rename lib/{orm => Doctrine}/Validator/Protected.php (100%) rename lib/{orm => Doctrine}/Validator/Range.php (100%) rename lib/{orm => Doctrine}/Validator/Regexp.php (100%) rename lib/{orm => Doctrine}/Validator/Unique.php (100%) rename lib/{orm => Doctrine}/Validator/Unsigned.php (100%) rename lib/{orm => Doctrine}/Validator/Usstate.php (100%) rename lib/{orm => Doctrine}/View.php (100%) rename lib/{orm => Doctrine}/View/Exception.php (100%) diff --git a/lib/Doctrine.php b/lib/Doctrine.php index 6e00f8db9..03b9fa54c 100644 --- a/lib/Doctrine.php +++ b/lib/Doctrine.php @@ -33,25 +33,6 @@ */ final class Doctrine { - /** - * DEPRECATED ATTRIBUTE CONSTANT NAMES AND VALUES - * - * REMOVE BEFORE 1.0 - * These were deprecated either because they are not used anymore or because they didn't follow the naming pattern required - * by Doctrine attributes - * - * Attribute names must be ATTR_{ATTR_NAME} and the values must be {ATTR_NAME}_NAME_OF_VALUE - */ - const LIMIT_ROWS = 1; - const LIMIT_RECORDS = 2; - const FETCH_IMMEDIATE = 0; - const FETCH_BATCH = 1; - const FETCH_OFFSET = 3; - const FETCH_LAZY_OFFSET = 4; - const FETCH_VHOLDER = 1; - const FETCH_RECORD = 2; - const FETCH_ARRAY = 3; - /** * VERSION */ @@ -100,45 +81,45 @@ final class Doctrine /** * PDO derived constants */ - const CASE_NATURAL = 0; - const CASE_UPPER = 1; - const CASE_LOWER = 2; - const CURSOR_FWDONLY = 0; - const CURSOR_SCROLL = 1; - const ERRMODE_EXCEPTION = 2; - const ERRMODE_SILENT = 0; - const ERRMODE_WARNING = 1; - const FETCH_ASSOC = 2; - const FETCH_BOTH = 4; - const FETCH_BOUND = 6; - const FETCH_CLASS = 8; - const FETCH_CLASSTYPE = 262144; - const FETCH_COLUMN = 7; - const FETCH_FUNC = 10; - const FETCH_GROUP = 65536; - const FETCH_INTO = 9; - const FETCH_LAZY = 1; - const FETCH_NAMED = 11; - const FETCH_NUM = 3; - const FETCH_OBJ = 5; - const FETCH_ORI_ABS = 4; - const FETCH_ORI_FIRST = 2; - const FETCH_ORI_LAST = 3; - const FETCH_ORI_NEXT = 0; - const FETCH_ORI_PRIOR = 1; - const FETCH_ORI_REL = 5; - const FETCH_SERIALIZE = 524288; - const FETCH_UNIQUE = 196608; - const NULL_EMPTY_STRING = 1; - const NULL_NATURAL = 0; - const NULL_TO_STRING = NULL; - const PARAM_BOOL = 5; - const PARAM_INPUT_OUTPUT = -2147483648; - const PARAM_INT = 1; - const PARAM_LOB = 3; - const PARAM_NULL = 0; - const PARAM_STMT = 4; - const PARAM_STR = 2; + const CASE_LOWER = 2; + const CASE_NATURAL = 0; + const CASE_UPPER = 1; + const CURSOR_FWDONLY = 0; + const CURSOR_SCROLL = 1; + const ERRMODE_EXCEPTION = 2; + const ERRMODE_SILENT = 0; + const ERRMODE_WARNING = 1; + const FETCH_ASSOC = 2; + const FETCH_BOTH = 4; + const FETCH_BOUND = 6; + const FETCH_CLASS = 8; + const FETCH_CLASSTYPE = 262144; + const FETCH_COLUMN = 7; + const FETCH_FUNC = 10; + const FETCH_GROUP = 65536; + const FETCH_INTO = 9; + const FETCH_LAZY = 1; + const FETCH_NAMED = 11; + const FETCH_NUM = 3; + const FETCH_OBJ = 5; + const FETCH_ORI_ABS = 4; + const FETCH_ORI_FIRST = 2; + const FETCH_ORI_LAST = 3; + const FETCH_ORI_NEXT = 0; + const FETCH_ORI_PRIOR = 1; + const FETCH_ORI_REL = 5; + const FETCH_SERIALIZE = 524288; + const FETCH_UNIQUE = 196608; + const NULL_EMPTY_STRING = 1; + const NULL_NATURAL = 0; + const NULL_TO_STRING = NULL; + const PARAM_BOOL = 5; + const PARAM_INPUT_OUTPUT = -2147483648; + const PARAM_INT = 1; + const PARAM_LOB = 3; + const PARAM_NULL = 0; + const PARAM_STMT = 4; + const PARAM_STR = 2; /** * ATTRIBUTE CONSTANTS @@ -170,33 +151,36 @@ final class Doctrine /** * Doctrine constants */ - const ATTR_LISTENER = 100; - const ATTR_QUOTE_IDENTIFIER = 101; - const ATTR_FIELD_CASE = 102; - const ATTR_IDXNAME_FORMAT = 103; - const ATTR_SEQNAME_FORMAT = 104; - const ATTR_SEQCOL_NAME = 105; - const ATTR_CMPNAME_FORMAT = 118; - const ATTR_DBNAME_FORMAT = 117; - const ATTR_TBLCLASS_FORMAT = 119; - const ATTR_TBLNAME_FORMAT = 120; - const ATTR_EXPORT = 140; - const ATTR_DECIMAL_PLACES = 141; - const ATTR_PORTABILITY = 106; - const ATTR_VALIDATE = 107; - const ATTR_COLL_KEY = 108; - const ATTR_QUERY_LIMIT = 109; - const ATTR_DEFAULT_TABLE_TYPE = 112; - const ATTR_DEF_TEXT_LENGTH = 113; - const ATTR_DEF_VARCHAR_LENGTH = 114; - const ATTR_DEF_TABLESPACE = 115; - const ATTR_EMULATE_DATABASE = 116; - const ATTR_USE_NATIVE_ENUM = 117; - const ATTR_DEFAULT_SEQUENCE = 133; + const ATTR_LISTENER = 100; + const ATTR_QUOTE_IDENTIFIER = 101; + const ATTR_FIELD_CASE = 102; + const ATTR_IDXNAME_FORMAT = 103; + const ATTR_SEQNAME_FORMAT = 104; + const ATTR_SEQCOL_NAME = 105; + const ATTR_CMPNAME_FORMAT = 118; + const ATTR_DBNAME_FORMAT = 117; + const ATTR_TBLCLASS_FORMAT = 119; + const ATTR_TBLNAME_FORMAT = 120; + const ATTR_EXPORT = 140; + const ATTR_DECIMAL_PLACES = 141; + + const ATTR_PORTABILITY = 106; + const ATTR_VALIDATE = 107; + const ATTR_COLL_KEY = 108; + const ATTR_QUERY_LIMIT = 109; + const ATTR_DEFAULT_TABLE_TYPE = 112; + const ATTR_DEF_TEXT_LENGTH = 113; + const ATTR_DEF_VARCHAR_LENGTH = 114; + const ATTR_DEF_TABLESPACE = 115; + const ATTR_EMULATE_DATABASE = 116; + const ATTR_USE_NATIVE_ENUM = 117; + const ATTR_DEFAULT_SEQUENCE = 133; + const ATTR_FETCHMODE = 118; const ATTR_NAME_PREFIX = 121; const ATTR_CREATE_TABLES = 122; const ATTR_COLL_LIMIT = 123; + const ATTR_CACHE = 150; const ATTR_RESULT_CACHE = 150; const ATTR_CACHE_LIFESPAN = 151; @@ -209,28 +193,20 @@ final class Doctrine const ATTR_QUERY_CACHE_LIFESPAN = 158; const ATTR_AUTOLOAD_TABLE_CLASSES = 160; const ATTR_MODEL_LOADING = 161; - const ATTR_LOCK = 162; - const ATTR_HYDRATE = 163; - const ATTR_IDENTIFIER = 164; /** - * QUERY_LIMIT CONSTANTS + * LIMIT CONSTANTS */ /** - * QUERY_LIMIT_ROWS - * * constant for row limiting - * - * @see self::ATTR_QUERY_LIMIT */ - const QUERY_LIMIT_ROWS = 1; + const LIMIT_ROWS = 1; /** * constant for record limiting - * @see self::ATTR_QUERY_LIMIT */ - const QUERY_LIMIT_RECORDS = 2; + const LIMIT_RECORDS = 2; /** * FETCHMODE CONSTANTS @@ -239,163 +215,117 @@ final class Doctrine /** * IMMEDIATE FETCHING * mode for immediate fetching - * @see self::ATTR_FETCHMODE */ - const FETCHMODE_IMMEDIATE = 0; + const FETCH_IMMEDIATE = 0; /** - * FETCHMODE_BATCH - * + * BATCH FETCHING * mode for batch fetching - * - * @see self::ATTR_FETCHMODE */ - const FETCHMODE_BATCH = 1; + const FETCH_BATCH = 1; /** - * FETCHMODE_OFFSET - * + * LAZY FETCHING * mode for offset fetching - * - * @see self::ATTR_FETCHMODE */ - const FETCHMODE_OFFSET = 3; + const FETCH_OFFSET = 3; /** - * FETCHMODE_LAZY_OFFSET - * + * LAZY OFFSET FETCHING * mode for lazy offset fetching - * - * @see self::ATTR_FETCHMODE */ - const FETCHMODE_LAZY_OFFSET = 4; + const FETCH_LAZY_OFFSET = 4; /** - * FETCHMODE CONSTANTS + * FETCH CONSTANTS */ - /** - * FETCHMODE_VHOLDER - * - * @see self::ATTR_FETCHMODE - */ - const FETCHMODE_VHOLDER = 1; /** - * FETCHMODE_RECORD + * FETCH VALUEHOLDER + */ + const FETCH_VHOLDER = 1; + + /** + * FETCH RECORD * * Specifies that the fetch method shall return Doctrine_Record * objects as the elements of the result set. * * This is the default fetchmode. - * - * @see self::ATTR_FETCHMODE */ - const FETCHMODE_RECORD = 2; + const FETCH_RECORD = 2; /** - * FETCHMODE_ARRAY - * - * @see self::ATTR_FETCHMODE + * FETCH ARRAY */ - const FETCHMODE_ARRAY = 3; + const FETCH_ARRAY = 3; /** * PORTABILITY CONSTANTS */ /** - * PORTABILITY_NONE - * * Portability: turn off all portability features. - * * @see self::ATTR_PORTABILITY */ const PORTABILITY_NONE = 0; /** - * PORTABILITY_FIX_CASE - * * Portability: convert names of tables and fields to case defined in the * "field_case" option when using the query*(), fetch*() methods. - * * @see self::ATTR_PORTABILITY */ const PORTABILITY_FIX_CASE = 1; /** - * PORTABILITY_RTRIM - * * Portability: right trim the data output by query*() and fetch*(). - * * @see self::ATTR_PORTABILITY */ const PORTABILITY_RTRIM = 2; /** - * PORTABILITY_DELETE_COUNT - * * Portability: force reporting the number of rows deleted. - * * @see self::ATTR_PORTABILITY */ const PORTABILITY_DELETE_COUNT = 4; /** - * PORTABILITY_EMPTY_TO_NULL - * * Portability: convert empty values to null strings in data output by * query*() and fetch*(). - * * @see self::ATTR_PORTABILITY */ const PORTABILITY_EMPTY_TO_NULL = 8; /** - * PORTABILITY_FIX_ASSOC_FIELD_NAMES - * * Portability: removes database/table qualifiers from associative indexes - * * @see self::ATTR_PORTABILITY */ const PORTABILITY_FIX_ASSOC_FIELD_NAMES = 16; /** - * PORTABILITY_EXPR - * * Portability: makes Doctrine_Expression throw exception for unportable RDBMS expressions - * * @see self::ATTR_PORTABILITY */ const PORTABILITY_EXPR = 32; /** - * PORTABILITY_ALL - * * Portability: turn on all portability features. - * * @see self::ATTR_PORTABILITY */ const PORTABILITY_ALL = 63; /** - * LOCK CONSTANTS + * LOCKMODE CONSTANTS */ /** - * LOCK_OPTIMISTIC - * * mode for optimistic locking - * @see self::ATTR_LOCK */ const LOCK_OPTIMISTIC = 0; /** - * LOCK_PESSIMISTIC - * * mode for pessimistic locking - * - * @see self::ATTR_LOCK */ const LOCK_PESSIMISTIC = 1; @@ -405,96 +335,66 @@ final class Doctrine /** * EXPORT_NONE - * - * @see self::ATTR_EXPORT */ const EXPORT_NONE = 0; /** * EXPORT_TABLES - * - * @see self::ATTR_EXPORT */ const EXPORT_TABLES = 1; /** * EXPORT_CONSTRAINTS - * - * @see self::ATTR_EXPORT */ const EXPORT_CONSTRAINTS = 2; /** * EXPORT_PLUGINS - * - * @see self::ATTR_EXPORT */ const EXPORT_PLUGINS = 4; /** * EXPORT_ALL - * - * @see self::ATTR_EXPORT */ const EXPORT_ALL = 7; /** - * HYDRATE CONSTANTS - */ - - /** - * HYDRATE_RECORD - * - * @see self::ATTR_HYDRATE + * HYDRATION CONSTANTS */ const HYDRATE_RECORD = 2; /** * HYDRATE_ARRAY - * - * @see self::ATTR_HYDRATE */ const HYDRATE_ARRAY = 3; /** * HYDRATE_NONE - * - * @see self::ATTR_HYDRATE */ const HYDRATE_NONE = 4; /** - * VALIDATE CONSTANTS - * - * @see self::ATTR_VALIDATE + * VALIDATION CONSTANTS */ const VALIDATE_NONE = 0; /** * VALIDATE_LENGTHS - * - * @see self::ATTR_VALIDATE */ const VALIDATE_LENGTHS = 1; /** * VALIDATE_TYPES - * - * @see self::ATTR_VALIDATE */ const VALIDATE_TYPES = 2; /** * VALIDATE_CONSTRAINTS - * - * @see self::ATTR_VALIDATE */ const VALIDATE_CONSTRAINTS = 4; /** * VALIDATE_ALL - * - * @see self::ATTR_VALIDATE */ const VALIDATE_ALL = 7; @@ -502,8 +402,6 @@ final class Doctrine * IDENTIFIER_AUTOINC * * constant for auto_increment identifier - * - * @see self::ATTR_IDENTIFIER */ const IDENTIFIER_AUTOINC = 1; @@ -511,8 +409,6 @@ final class Doctrine * IDENTIFIER_SEQUENCE * * constant for sequence identifier - * - * @see self::ATTR_IDENTIFIER */ const IDENTIFIER_SEQUENCE = 2; @@ -520,8 +416,6 @@ final class Doctrine * IDENTIFIER_NATURAL * * constant for normal identifier - * - * @see self::ATTR_IDENTIFIER */ const IDENTIFIER_NATURAL = 3; @@ -529,7 +423,6 @@ final class Doctrine * IDENTIFIER_COMPOSITE * * constant for composite identifier - * @see self::ATTR_IDENTIFIER */ const IDENTIFIER_COMPOSITE = 4; @@ -538,8 +431,6 @@ final class Doctrine * * Constant for agressive model loading * Will require_once() all found model files - * - * @see self::ATTR_MODEL_LOADING */ const MODEL_LOADING_AGGRESSIVE = 1; @@ -549,11 +440,9 @@ final class Doctrine * Constant for conservative model loading * Will not require_once() found model files inititally instead it will build an array * and reference it in autoload() when a class is needed it will require_once() it - * - * @see self::ATTR_MODEL_LOADING */ const MODEL_LOADING_CONSERVATIVE= 2; - + /** * Path * @@ -561,6 +450,15 @@ final class Doctrine */ private static $_path; + /** + * Debug + * + * Bool true/false + * + * @var boolean $_debug + */ + private static $_debug = false; + /** * _loadedModelFiles * @@ -570,6 +468,14 @@ final class Doctrine */ private static $_loadedModelFiles = array(); + /** + * _validators + * + * Array of all the loaded validators + * @var array + */ + private static $_validators = array(); + /** * __construct * @@ -580,7 +486,22 @@ final class Doctrine { throw new Doctrine_Exception('Doctrine is static class. No instances can be created.'); } - + + /** + * debug + * + * @param string $bool + * @return void + */ + public static function debug($bool = null) + { + if ($bool !== null) { + self::$_debug = (bool) $bool; + } + + return self::$_debug; + } + /** * getPath * returns the doctrine root @@ -618,7 +539,7 @@ final class Doctrine $e = explode('.', $file->getFileName()); if (end($e) === 'php' && strpos($file->getFileName(), '.inc') === false) { - if ($manager->getAttribute(Doctrine::ATTR_MODEL_LOADING) === Doctrine::MODEL_LOADING_CONSERVATIVE) { + if ($manager->getAttribute(Doctrine::ATTR_MODEL_LOADING) == Doctrine::MODEL_LOADING_CONSERVATIVE) { self::$_loadedModelFiles[$e[0]] = $file->getPathName(); $loadedModels[] = $e[0]; } else { @@ -652,12 +573,15 @@ final class Doctrine * Will filter through an array of classes and return the Doctrine_Records out of them. * If you do not specify $classes it will return all of the currently loaded Doctrine_Records * + * @param classes Array of classes to filter through, otherwise uses get_declared_classes() * @return array $loadedModels */ - public static function getLoadedModels() + public static function getLoadedModels($classes = null) { - $classes = get_declared_classes(); - $classes = array_merge($classes, array_keys(self::$_loadedModelFiles)); + if ($classes === null) { + $classes = get_declared_classes(); + $classes = array_merge($classes, array_keys(self::$_loadedModelFiles)); + } return self::filterInvalidModels($classes); } @@ -767,7 +691,7 @@ final class Doctrine */ public static function generateYamlFromDb($yamlPath) { - $directory = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'tmp_doctrine_models'; + $directory = '/tmp/tmp_doctrine_models'; Doctrine::generateModelsFromDb($directory); @@ -937,7 +861,7 @@ final class Doctrine } try { - $connection->export->dropDatabase($connection->getDatabaseName()); + $connection->export->dropDatabase($name); $results[$name] = true; } catch (Exception $e) { @@ -1056,6 +980,34 @@ final class Doctrine return Doctrine_Manager::table($tableName); } + /** + * fileFinder + * + * @param string $type + * @return void + */ + public static function fileFinder($type) + { + return Doctrine_FileFinder::type($type); + } + + /** + * compile + * + * method for making a single file of most used doctrine runtime components + * including the compiled file instead of multiple files (in worst + * cases dozens of files) can improve performance by an order of magnitude + * + * @param string $target + * @param array $includedDrivers + * @throws Doctrine_Exception + * @return void + */ + public static function compile($target = null, $includedDrivers = array()) + { + return Doctrine_Compiler::compile($target, $includedDrivers); + } + /** * autoload * @@ -1067,7 +1019,7 @@ final class Doctrine */ public static function autoload($className) { - if ( substr($className, 0, 9) != 'Doctrine_' || class_exists($className, false) || interface_exists($className, false)) { + if (class_exists($className, false) || interface_exists($className, false)) { return false; } @@ -1075,9 +1027,9 @@ final class Doctrine self::$_path = dirname(__FILE__); } - $class = self::locate($className . '.php'); - - if ($class && file_exists($class)) { + $class = self::$_path . DIRECTORY_SEPARATOR . str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php'; + + if (file_exists($class)) { require $class; return true; @@ -1093,19 +1045,6 @@ final class Doctrine return false; } - - public static function locate($name) - { - $findPattern = self::$_path . DIRECTORY_SEPARATOR . '*' . DIRECTORY_SEPARATOR . str_replace('_', DIRECTORY_SEPARATOR, str_replace('Doctrine_', '', $name)); - - $matches = glob($findPattern); - - if ( isset($matches[0])) { - return $matches[0]; - } else { - return false; - } - } /** * dump @@ -1170,4 +1109,17 @@ final class Doctrine { return Doctrine_Inflector::classify($tableName); } -} \ No newline at end of file + + /** + * isValidClassName + * + * checks for valid class name (uses camel case and underscores) + * + * @param string $classname + * @return boolean + */ + public static function isValidClassname($className) + { + return Doctrine_Lib::isValidClassName($className); + } +} diff --git a/lib/orm/Access.php b/lib/Doctrine/Access.php similarity index 100% rename from lib/orm/Access.php rename to lib/Doctrine/Access.php diff --git a/lib/orm/Adapter.php b/lib/Doctrine/Adapter.php similarity index 100% rename from lib/orm/Adapter.php rename to lib/Doctrine/Adapter.php diff --git a/lib/orm/Adapter/Db2.php b/lib/Doctrine/Adapter/Db2.php similarity index 100% rename from lib/orm/Adapter/Db2.php rename to lib/Doctrine/Adapter/Db2.php diff --git a/lib/orm/Adapter/Db2/Exception.php b/lib/Doctrine/Adapter/Db2/Exception.php similarity index 100% rename from lib/orm/Adapter/Db2/Exception.php rename to lib/Doctrine/Adapter/Db2/Exception.php diff --git a/lib/orm/Adapter/Exception.php b/lib/Doctrine/Adapter/Exception.php similarity index 100% rename from lib/orm/Adapter/Exception.php rename to lib/Doctrine/Adapter/Exception.php diff --git a/lib/orm/Adapter/Interface.php b/lib/Doctrine/Adapter/Interface.php similarity index 100% rename from lib/orm/Adapter/Interface.php rename to lib/Doctrine/Adapter/Interface.php diff --git a/lib/orm/Adapter/Mock.php b/lib/Doctrine/Adapter/Mock.php similarity index 100% rename from lib/orm/Adapter/Mock.php rename to lib/Doctrine/Adapter/Mock.php diff --git a/lib/orm/Adapter/Mysqli.php b/lib/Doctrine/Adapter/Mysqli.php similarity index 100% rename from lib/orm/Adapter/Mysqli.php rename to lib/Doctrine/Adapter/Mysqli.php diff --git a/lib/orm/Adapter/Oracle.php b/lib/Doctrine/Adapter/Oracle.php similarity index 100% rename from lib/orm/Adapter/Oracle.php rename to lib/Doctrine/Adapter/Oracle.php diff --git a/lib/orm/Adapter/Resource.php b/lib/Doctrine/Adapter/Resource.php similarity index 100% rename from lib/orm/Adapter/Resource.php rename to lib/Doctrine/Adapter/Resource.php diff --git a/lib/orm/Adapter/Statement.php b/lib/Doctrine/Adapter/Statement.php similarity index 100% rename from lib/orm/Adapter/Statement.php rename to lib/Doctrine/Adapter/Statement.php diff --git a/lib/orm/Adapter/Statement/Interface.php b/lib/Doctrine/Adapter/Statement/Interface.php similarity index 100% rename from lib/orm/Adapter/Statement/Interface.php rename to lib/Doctrine/Adapter/Statement/Interface.php diff --git a/lib/orm/Adapter/Statement/Mock.php b/lib/Doctrine/Adapter/Statement/Mock.php similarity index 100% rename from lib/orm/Adapter/Statement/Mock.php rename to lib/Doctrine/Adapter/Statement/Mock.php diff --git a/lib/orm/AuditLog.php b/lib/Doctrine/AuditLog.php similarity index 100% rename from lib/orm/AuditLog.php rename to lib/Doctrine/AuditLog.php diff --git a/lib/orm/AuditLog/Listener.php b/lib/Doctrine/AuditLog/Listener.php similarity index 100% rename from lib/orm/AuditLog/Listener.php rename to lib/Doctrine/AuditLog/Listener.php diff --git a/lib/orm/Cache.php b/lib/Doctrine/Cache.php similarity index 100% rename from lib/orm/Cache.php rename to lib/Doctrine/Cache.php diff --git a/lib/orm/Cache/Apc.php b/lib/Doctrine/Cache/Apc.php similarity index 100% rename from lib/orm/Cache/Apc.php rename to lib/Doctrine/Cache/Apc.php diff --git a/lib/orm/Cache/Array.php b/lib/Doctrine/Cache/Array.php similarity index 100% rename from lib/orm/Cache/Array.php rename to lib/Doctrine/Cache/Array.php diff --git a/lib/orm/Cache/Db.php b/lib/Doctrine/Cache/Db.php similarity index 100% rename from lib/orm/Cache/Db.php rename to lib/Doctrine/Cache/Db.php diff --git a/lib/orm/Cache/Driver.php b/lib/Doctrine/Cache/Driver.php similarity index 100% rename from lib/orm/Cache/Driver.php rename to lib/Doctrine/Cache/Driver.php diff --git a/lib/orm/Cache/Exception.php b/lib/Doctrine/Cache/Exception.php similarity index 100% rename from lib/orm/Cache/Exception.php rename to lib/Doctrine/Cache/Exception.php diff --git a/lib/orm/Cache/Interface.php b/lib/Doctrine/Cache/Interface.php similarity index 100% rename from lib/orm/Cache/Interface.php rename to lib/Doctrine/Cache/Interface.php diff --git a/lib/orm/Cache/Memcache.php b/lib/Doctrine/Cache/Memcache.php similarity index 100% rename from lib/orm/Cache/Memcache.php rename to lib/Doctrine/Cache/Memcache.php diff --git a/lib/orm/Cache/Xcache.php b/lib/Doctrine/Cache/Xcache.php similarity index 100% rename from lib/orm/Cache/Xcache.php rename to lib/Doctrine/Cache/Xcache.php diff --git a/lib/orm/Cli.php b/lib/Doctrine/Cli.php similarity index 100% rename from lib/orm/Cli.php rename to lib/Doctrine/Cli.php diff --git a/lib/orm/Cli/AnsiColorFormatter.php b/lib/Doctrine/Cli/AnsiColorFormatter.php similarity index 100% rename from lib/orm/Cli/AnsiColorFormatter.php rename to lib/Doctrine/Cli/AnsiColorFormatter.php diff --git a/lib/orm/Cli/Exception.php b/lib/Doctrine/Cli/Exception.php similarity index 100% rename from lib/orm/Cli/Exception.php rename to lib/Doctrine/Cli/Exception.php diff --git a/lib/orm/Cli/Formatter.php b/lib/Doctrine/Cli/Formatter.php similarity index 100% rename from lib/orm/Cli/Formatter.php rename to lib/Doctrine/Cli/Formatter.php diff --git a/lib/orm/Collection.php b/lib/Doctrine/Collection.php similarity index 100% rename from lib/orm/Collection.php rename to lib/Doctrine/Collection.php diff --git a/lib/orm/Collection/Exception.php b/lib/Doctrine/Collection/Exception.php similarity index 100% rename from lib/orm/Collection/Exception.php rename to lib/Doctrine/Collection/Exception.php diff --git a/lib/orm/Collection/Iterator.php b/lib/Doctrine/Collection/Iterator.php similarity index 100% rename from lib/orm/Collection/Iterator.php rename to lib/Doctrine/Collection/Iterator.php diff --git a/lib/orm/Collection/Iterator/Expandable.php b/lib/Doctrine/Collection/Iterator/Expandable.php similarity index 100% rename from lib/orm/Collection/Iterator/Expandable.php rename to lib/Doctrine/Collection/Iterator/Expandable.php diff --git a/lib/orm/Collection/Iterator/Normal.php b/lib/Doctrine/Collection/Iterator/Normal.php similarity index 100% rename from lib/orm/Collection/Iterator/Normal.php rename to lib/Doctrine/Collection/Iterator/Normal.php diff --git a/lib/orm/Collection/Iterator/Offset.php b/lib/Doctrine/Collection/Iterator/Offset.php similarity index 100% rename from lib/orm/Collection/Iterator/Offset.php rename to lib/Doctrine/Collection/Iterator/Offset.php diff --git a/lib/orm/Collection/Offset.php b/lib/Doctrine/Collection/Offset.php similarity index 100% rename from lib/orm/Collection/Offset.php rename to lib/Doctrine/Collection/Offset.php diff --git a/lib/orm/Column.php b/lib/Doctrine/Column.php similarity index 100% rename from lib/orm/Column.php rename to lib/Doctrine/Column.php diff --git a/lib/orm/Compiler.php b/lib/Doctrine/Compiler.php similarity index 100% rename from lib/orm/Compiler.php rename to lib/Doctrine/Compiler.php diff --git a/lib/orm/Compiler/Exception.php b/lib/Doctrine/Compiler/Exception.php similarity index 100% rename from lib/orm/Compiler/Exception.php rename to lib/Doctrine/Compiler/Exception.php diff --git a/lib/orm/Configurable.php b/lib/Doctrine/Configurable.php similarity index 100% rename from lib/orm/Configurable.php rename to lib/Doctrine/Configurable.php diff --git a/lib/orm/Connection.php b/lib/Doctrine/Connection.php similarity index 100% rename from lib/orm/Connection.php rename to lib/Doctrine/Connection.php diff --git a/lib/orm/Connection/Common.php b/lib/Doctrine/Connection/Common.php similarity index 100% rename from lib/orm/Connection/Common.php rename to lib/Doctrine/Connection/Common.php diff --git a/lib/orm/Connection/Db2.php b/lib/Doctrine/Connection/Db2.php similarity index 100% rename from lib/orm/Connection/Db2.php rename to lib/Doctrine/Connection/Db2.php diff --git a/lib/orm/Connection/Exception.php b/lib/Doctrine/Connection/Exception.php similarity index 100% rename from lib/orm/Connection/Exception.php rename to lib/Doctrine/Connection/Exception.php diff --git a/lib/orm/Connection/Firebird.php b/lib/Doctrine/Connection/Firebird.php similarity index 100% rename from lib/orm/Connection/Firebird.php rename to lib/Doctrine/Connection/Firebird.php diff --git a/lib/orm/Connection/Firebird/Exception.php b/lib/Doctrine/Connection/Firebird/Exception.php similarity index 100% rename from lib/orm/Connection/Firebird/Exception.php rename to lib/Doctrine/Connection/Firebird/Exception.php diff --git a/lib/orm/Connection/Informix.php b/lib/Doctrine/Connection/Informix.php similarity index 100% rename from lib/orm/Connection/Informix.php rename to lib/Doctrine/Connection/Informix.php diff --git a/lib/orm/Connection/Informix/Exception.php b/lib/Doctrine/Connection/Informix/Exception.php similarity index 100% rename from lib/orm/Connection/Informix/Exception.php rename to lib/Doctrine/Connection/Informix/Exception.php diff --git a/lib/orm/Connection/Mock.php b/lib/Doctrine/Connection/Mock.php similarity index 100% rename from lib/orm/Connection/Mock.php rename to lib/Doctrine/Connection/Mock.php diff --git a/lib/orm/Connection/Module.php b/lib/Doctrine/Connection/Module.php similarity index 100% rename from lib/orm/Connection/Module.php rename to lib/Doctrine/Connection/Module.php diff --git a/lib/orm/Connection/Mssql.php b/lib/Doctrine/Connection/Mssql.php similarity index 100% rename from lib/orm/Connection/Mssql.php rename to lib/Doctrine/Connection/Mssql.php diff --git a/lib/orm/Connection/Mssql/Exception.php b/lib/Doctrine/Connection/Mssql/Exception.php similarity index 100% rename from lib/orm/Connection/Mssql/Exception.php rename to lib/Doctrine/Connection/Mssql/Exception.php diff --git a/lib/orm/Connection/Mysql.php b/lib/Doctrine/Connection/Mysql.php similarity index 100% rename from lib/orm/Connection/Mysql.php rename to lib/Doctrine/Connection/Mysql.php diff --git a/lib/orm/Connection/Mysql/Exception.php b/lib/Doctrine/Connection/Mysql/Exception.php similarity index 100% rename from lib/orm/Connection/Mysql/Exception.php rename to lib/Doctrine/Connection/Mysql/Exception.php diff --git a/lib/orm/Connection/Oracle.php b/lib/Doctrine/Connection/Oracle.php similarity index 100% rename from lib/orm/Connection/Oracle.php rename to lib/Doctrine/Connection/Oracle.php diff --git a/lib/orm/Connection/Oracle/Exception.php b/lib/Doctrine/Connection/Oracle/Exception.php similarity index 100% rename from lib/orm/Connection/Oracle/Exception.php rename to lib/Doctrine/Connection/Oracle/Exception.php diff --git a/lib/orm/Connection/Pgsql.php b/lib/Doctrine/Connection/Pgsql.php similarity index 100% rename from lib/orm/Connection/Pgsql.php rename to lib/Doctrine/Connection/Pgsql.php diff --git a/lib/orm/Connection/Pgsql/Exception.php b/lib/Doctrine/Connection/Pgsql/Exception.php similarity index 100% rename from lib/orm/Connection/Pgsql/Exception.php rename to lib/Doctrine/Connection/Pgsql/Exception.php diff --git a/lib/orm/Connection/Profiler.php b/lib/Doctrine/Connection/Profiler.php similarity index 100% rename from lib/orm/Connection/Profiler.php rename to lib/Doctrine/Connection/Profiler.php diff --git a/lib/orm/Connection/Profiler/Exception.php b/lib/Doctrine/Connection/Profiler/Exception.php similarity index 100% rename from lib/orm/Connection/Profiler/Exception.php rename to lib/Doctrine/Connection/Profiler/Exception.php diff --git a/lib/orm/Connection/Sqlite.php b/lib/Doctrine/Connection/Sqlite.php similarity index 100% rename from lib/orm/Connection/Sqlite.php rename to lib/Doctrine/Connection/Sqlite.php diff --git a/lib/orm/Connection/Sqlite/Exception.php b/lib/Doctrine/Connection/Sqlite/Exception.php similarity index 100% rename from lib/orm/Connection/Sqlite/Exception.php rename to lib/Doctrine/Connection/Sqlite/Exception.php diff --git a/lib/orm/Connection/Statement.php b/lib/Doctrine/Connection/Statement.php similarity index 100% rename from lib/orm/Connection/Statement.php rename to lib/Doctrine/Connection/Statement.php diff --git a/lib/orm/Connection/UnitOfWork.php b/lib/Doctrine/Connection/UnitOfWork.php similarity index 100% rename from lib/orm/Connection/UnitOfWork.php rename to lib/Doctrine/Connection/UnitOfWork.php diff --git a/lib/orm/Data.php b/lib/Doctrine/Data.php similarity index 100% rename from lib/orm/Data.php rename to lib/Doctrine/Data.php diff --git a/lib/orm/Data/Exception.php b/lib/Doctrine/Data/Exception.php similarity index 100% rename from lib/orm/Data/Exception.php rename to lib/Doctrine/Data/Exception.php diff --git a/lib/orm/Data/Export.php b/lib/Doctrine/Data/Export.php similarity index 100% rename from lib/orm/Data/Export.php rename to lib/Doctrine/Data/Export.php diff --git a/lib/orm/Data/Import.php b/lib/Doctrine/Data/Import.php similarity index 100% rename from lib/orm/Data/Import.php rename to lib/Doctrine/Data/Import.php diff --git a/lib/orm/DataDict.php b/lib/Doctrine/DataDict.php similarity index 100% rename from lib/orm/DataDict.php rename to lib/Doctrine/DataDict.php diff --git a/lib/orm/DataDict/Exception.php b/lib/Doctrine/DataDict/Exception.php similarity index 100% rename from lib/orm/DataDict/Exception.php rename to lib/Doctrine/DataDict/Exception.php diff --git a/lib/orm/DataDict/Firebird.php b/lib/Doctrine/DataDict/Firebird.php similarity index 100% rename from lib/orm/DataDict/Firebird.php rename to lib/Doctrine/DataDict/Firebird.php diff --git a/lib/orm/DataDict/Informix.php b/lib/Doctrine/DataDict/Informix.php similarity index 100% rename from lib/orm/DataDict/Informix.php rename to lib/Doctrine/DataDict/Informix.php diff --git a/lib/orm/DataDict/Mssql.php b/lib/Doctrine/DataDict/Mssql.php similarity index 100% rename from lib/orm/DataDict/Mssql.php rename to lib/Doctrine/DataDict/Mssql.php diff --git a/lib/orm/DataDict/Mysql.php b/lib/Doctrine/DataDict/Mysql.php similarity index 100% rename from lib/orm/DataDict/Mysql.php rename to lib/Doctrine/DataDict/Mysql.php diff --git a/lib/orm/DataDict/Oracle.php b/lib/Doctrine/DataDict/Oracle.php similarity index 100% rename from lib/orm/DataDict/Oracle.php rename to lib/Doctrine/DataDict/Oracle.php diff --git a/lib/orm/DataDict/Pgsql.php b/lib/Doctrine/DataDict/Pgsql.php similarity index 100% rename from lib/orm/DataDict/Pgsql.php rename to lib/Doctrine/DataDict/Pgsql.php diff --git a/lib/orm/DataDict/Sqlite.php b/lib/Doctrine/DataDict/Sqlite.php similarity index 100% rename from lib/orm/DataDict/Sqlite.php rename to lib/Doctrine/DataDict/Sqlite.php diff --git a/lib/orm/DataType.php b/lib/Doctrine/DataType.php similarity index 100% rename from lib/orm/DataType.php rename to lib/Doctrine/DataType.php diff --git a/lib/orm/Db.php b/lib/Doctrine/Db.php similarity index 100% rename from lib/orm/Db.php rename to lib/Doctrine/Db.php diff --git a/lib/orm/Event.php b/lib/Doctrine/Event.php similarity index 100% rename from lib/orm/Event.php rename to lib/Doctrine/Event.php diff --git a/lib/orm/EventListener.php b/lib/Doctrine/EventListener.php similarity index 100% rename from lib/orm/EventListener.php rename to lib/Doctrine/EventListener.php diff --git a/lib/orm/EventListener/Chain.php b/lib/Doctrine/EventListener/Chain.php similarity index 100% rename from lib/orm/EventListener/Chain.php rename to lib/Doctrine/EventListener/Chain.php diff --git a/lib/orm/EventListener/Exception.php b/lib/Doctrine/EventListener/Exception.php similarity index 100% rename from lib/orm/EventListener/Exception.php rename to lib/Doctrine/EventListener/Exception.php diff --git a/lib/orm/EventListener/Interface.php b/lib/Doctrine/EventListener/Interface.php similarity index 100% rename from lib/orm/EventListener/Interface.php rename to lib/Doctrine/EventListener/Interface.php diff --git a/lib/orm/Exception.php b/lib/Doctrine/Exception.php similarity index 100% rename from lib/orm/Exception.php rename to lib/Doctrine/Exception.php diff --git a/lib/orm/Export.php b/lib/Doctrine/Export.php similarity index 100% rename from lib/orm/Export.php rename to lib/Doctrine/Export.php diff --git a/lib/orm/Export/Exception.php b/lib/Doctrine/Export/Exception.php similarity index 100% rename from lib/orm/Export/Exception.php rename to lib/Doctrine/Export/Exception.php diff --git a/lib/orm/Export/Firebird.php b/lib/Doctrine/Export/Firebird.php similarity index 100% rename from lib/orm/Export/Firebird.php rename to lib/Doctrine/Export/Firebird.php diff --git a/lib/orm/Export/Frontbase.php b/lib/Doctrine/Export/Frontbase.php similarity index 100% rename from lib/orm/Export/Frontbase.php rename to lib/Doctrine/Export/Frontbase.php diff --git a/lib/orm/Export/Mssql.php b/lib/Doctrine/Export/Mssql.php similarity index 100% rename from lib/orm/Export/Mssql.php rename to lib/Doctrine/Export/Mssql.php diff --git a/lib/orm/Export/Mysql.php b/lib/Doctrine/Export/Mysql.php similarity index 100% rename from lib/orm/Export/Mysql.php rename to lib/Doctrine/Export/Mysql.php diff --git a/lib/orm/Export/Oracle.php b/lib/Doctrine/Export/Oracle.php similarity index 100% rename from lib/orm/Export/Oracle.php rename to lib/Doctrine/Export/Oracle.php diff --git a/lib/orm/Export/Pgsql.php b/lib/Doctrine/Export/Pgsql.php similarity index 100% rename from lib/orm/Export/Pgsql.php rename to lib/Doctrine/Export/Pgsql.php diff --git a/lib/orm/Export/Reporter.php b/lib/Doctrine/Export/Reporter.php similarity index 100% rename from lib/orm/Export/Reporter.php rename to lib/Doctrine/Export/Reporter.php diff --git a/lib/orm/Export/Schema.php b/lib/Doctrine/Export/Schema.php similarity index 100% rename from lib/orm/Export/Schema.php rename to lib/Doctrine/Export/Schema.php diff --git a/lib/orm/Export/Sqlite.php b/lib/Doctrine/Export/Sqlite.php similarity index 100% rename from lib/orm/Export/Sqlite.php rename to lib/Doctrine/Export/Sqlite.php diff --git a/lib/orm/Expression.php b/lib/Doctrine/Expression.php similarity index 100% rename from lib/orm/Expression.php rename to lib/Doctrine/Expression.php diff --git a/lib/orm/Expression/Driver.php b/lib/Doctrine/Expression/Driver.php similarity index 100% rename from lib/orm/Expression/Driver.php rename to lib/Doctrine/Expression/Driver.php diff --git a/lib/orm/Expression/Exception.php b/lib/Doctrine/Expression/Exception.php similarity index 100% rename from lib/orm/Expression/Exception.php rename to lib/Doctrine/Expression/Exception.php diff --git a/lib/orm/Expression/Firebird.php b/lib/Doctrine/Expression/Firebird.php similarity index 100% rename from lib/orm/Expression/Firebird.php rename to lib/Doctrine/Expression/Firebird.php diff --git a/lib/orm/Expression/Informix.php b/lib/Doctrine/Expression/Informix.php similarity index 100% rename from lib/orm/Expression/Informix.php rename to lib/Doctrine/Expression/Informix.php diff --git a/lib/orm/Expression/Mock.php b/lib/Doctrine/Expression/Mock.php similarity index 100% rename from lib/orm/Expression/Mock.php rename to lib/Doctrine/Expression/Mock.php diff --git a/lib/orm/Expression/Mssql.php b/lib/Doctrine/Expression/Mssql.php similarity index 100% rename from lib/orm/Expression/Mssql.php rename to lib/Doctrine/Expression/Mssql.php diff --git a/lib/orm/Expression/Mysql.php b/lib/Doctrine/Expression/Mysql.php similarity index 100% rename from lib/orm/Expression/Mysql.php rename to lib/Doctrine/Expression/Mysql.php diff --git a/lib/orm/Expression/Oracle.php b/lib/Doctrine/Expression/Oracle.php similarity index 100% rename from lib/orm/Expression/Oracle.php rename to lib/Doctrine/Expression/Oracle.php diff --git a/lib/orm/Expression/Pgsql.php b/lib/Doctrine/Expression/Pgsql.php similarity index 100% rename from lib/orm/Expression/Pgsql.php rename to lib/Doctrine/Expression/Pgsql.php diff --git a/lib/orm/Expression/Sqlite.php b/lib/Doctrine/Expression/Sqlite.php similarity index 100% rename from lib/orm/Expression/Sqlite.php rename to lib/Doctrine/Expression/Sqlite.php diff --git a/lib/orm/File.php b/lib/Doctrine/File.php similarity index 100% rename from lib/orm/File.php rename to lib/Doctrine/File.php diff --git a/lib/orm/File/Index.php b/lib/Doctrine/File/Index.php similarity index 100% rename from lib/orm/File/Index.php rename to lib/Doctrine/File/Index.php diff --git a/lib/orm/FileFinder.php b/lib/Doctrine/FileFinder.php similarity index 100% rename from lib/orm/FileFinder.php rename to lib/Doctrine/FileFinder.php diff --git a/lib/orm/FileFinder/GlobToRegex.php b/lib/Doctrine/FileFinder/GlobToRegex.php similarity index 100% rename from lib/orm/FileFinder/GlobToRegex.php rename to lib/Doctrine/FileFinder/GlobToRegex.php diff --git a/lib/orm/FileFinder/NumberCompare.php b/lib/Doctrine/FileFinder/NumberCompare.php similarity index 100% rename from lib/orm/FileFinder/NumberCompare.php rename to lib/Doctrine/FileFinder/NumberCompare.php diff --git a/lib/orm/Formatter.php b/lib/Doctrine/Formatter.php similarity index 100% rename from lib/orm/Formatter.php rename to lib/Doctrine/Formatter.php diff --git a/lib/orm/Hook.php b/lib/Doctrine/Hook.php similarity index 100% rename from lib/orm/Hook.php rename to lib/Doctrine/Hook.php diff --git a/lib/orm/Hook/Equal.php b/lib/Doctrine/Hook/Equal.php similarity index 100% rename from lib/orm/Hook/Equal.php rename to lib/Doctrine/Hook/Equal.php diff --git a/lib/orm/Hook/Integer.php b/lib/Doctrine/Hook/Integer.php similarity index 100% rename from lib/orm/Hook/Integer.php rename to lib/Doctrine/Hook/Integer.php diff --git a/lib/orm/Hook/Parser.php b/lib/Doctrine/Hook/Parser.php similarity index 100% rename from lib/orm/Hook/Parser.php rename to lib/Doctrine/Hook/Parser.php diff --git a/lib/orm/Hook/Parser/Complex.php b/lib/Doctrine/Hook/Parser/Complex.php similarity index 100% rename from lib/orm/Hook/Parser/Complex.php rename to lib/Doctrine/Hook/Parser/Complex.php diff --git a/lib/orm/Hook/WordLike.php b/lib/Doctrine/Hook/WordLike.php similarity index 100% rename from lib/orm/Hook/WordLike.php rename to lib/Doctrine/Hook/WordLike.php diff --git a/lib/orm/Hydrator.php b/lib/Doctrine/Hydrator.php similarity index 100% rename from lib/orm/Hydrator.php rename to lib/Doctrine/Hydrator.php diff --git a/lib/orm/Hydrator/Abstract.php b/lib/Doctrine/Hydrator/Abstract.php similarity index 100% rename from lib/orm/Hydrator/Abstract.php rename to lib/Doctrine/Hydrator/Abstract.php diff --git a/lib/orm/Hydrator/ArrayDriver.php b/lib/Doctrine/Hydrator/ArrayDriver.php similarity index 100% rename from lib/orm/Hydrator/ArrayDriver.php rename to lib/Doctrine/Hydrator/ArrayDriver.php diff --git a/lib/orm/Hydrator/Exception.php b/lib/Doctrine/Hydrator/Exception.php similarity index 100% rename from lib/orm/Hydrator/Exception.php rename to lib/Doctrine/Hydrator/Exception.php diff --git a/lib/orm/Hydrator/RecordDriver.php b/lib/Doctrine/Hydrator/RecordDriver.php similarity index 100% rename from lib/orm/Hydrator/RecordDriver.php rename to lib/Doctrine/Hydrator/RecordDriver.php diff --git a/lib/orm/I18n.php b/lib/Doctrine/I18n.php similarity index 100% rename from lib/orm/I18n.php rename to lib/Doctrine/I18n.php diff --git a/lib/orm/I18n/Exception.php b/lib/Doctrine/I18n/Exception.php similarity index 100% rename from lib/orm/I18n/Exception.php rename to lib/Doctrine/I18n/Exception.php diff --git a/lib/orm/Import.php b/lib/Doctrine/Import.php similarity index 100% rename from lib/orm/Import.php rename to lib/Doctrine/Import.php diff --git a/lib/orm/Import/Builder.php b/lib/Doctrine/Import/Builder.php similarity index 100% rename from lib/orm/Import/Builder.php rename to lib/Doctrine/Import/Builder.php diff --git a/lib/orm/Import/Builder/BaseClass.php b/lib/Doctrine/Import/Builder/BaseClass.php similarity index 100% rename from lib/orm/Import/Builder/BaseClass.php rename to lib/Doctrine/Import/Builder/BaseClass.php diff --git a/lib/orm/Import/Builder/Exception.php b/lib/Doctrine/Import/Builder/Exception.php similarity index 100% rename from lib/orm/Import/Builder/Exception.php rename to lib/Doctrine/Import/Builder/Exception.php diff --git a/lib/orm/Import/Exception.php b/lib/Doctrine/Import/Exception.php similarity index 100% rename from lib/orm/Import/Exception.php rename to lib/Doctrine/Import/Exception.php diff --git a/lib/orm/Import/Firebird.php b/lib/Doctrine/Import/Firebird.php similarity index 100% rename from lib/orm/Import/Firebird.php rename to lib/Doctrine/Import/Firebird.php diff --git a/lib/orm/Import/Informix.php b/lib/Doctrine/Import/Informix.php similarity index 100% rename from lib/orm/Import/Informix.php rename to lib/Doctrine/Import/Informix.php diff --git a/lib/orm/Import/Mssql.php b/lib/Doctrine/Import/Mssql.php similarity index 100% rename from lib/orm/Import/Mssql.php rename to lib/Doctrine/Import/Mssql.php diff --git a/lib/orm/Import/Mysql.php b/lib/Doctrine/Import/Mysql.php similarity index 100% rename from lib/orm/Import/Mysql.php rename to lib/Doctrine/Import/Mysql.php diff --git a/lib/orm/Import/Oracle.php b/lib/Doctrine/Import/Oracle.php similarity index 100% rename from lib/orm/Import/Oracle.php rename to lib/Doctrine/Import/Oracle.php diff --git a/lib/orm/Import/Pgsql.php b/lib/Doctrine/Import/Pgsql.php similarity index 100% rename from lib/orm/Import/Pgsql.php rename to lib/Doctrine/Import/Pgsql.php diff --git a/lib/orm/Import/Reader.php b/lib/Doctrine/Import/Reader.php similarity index 100% rename from lib/orm/Import/Reader.php rename to lib/Doctrine/Import/Reader.php diff --git a/lib/orm/Import/Reader/Db.php b/lib/Doctrine/Import/Reader/Db.php similarity index 100% rename from lib/orm/Import/Reader/Db.php rename to lib/Doctrine/Import/Reader/Db.php diff --git a/lib/orm/Import/Reader/Exception.php b/lib/Doctrine/Import/Reader/Exception.php similarity index 100% rename from lib/orm/Import/Reader/Exception.php rename to lib/Doctrine/Import/Reader/Exception.php diff --git a/lib/orm/Import/Reader/Propel.php b/lib/Doctrine/Import/Reader/Propel.php similarity index 100% rename from lib/orm/Import/Reader/Propel.php rename to lib/Doctrine/Import/Reader/Propel.php diff --git a/lib/orm/Import/Schema.php b/lib/Doctrine/Import/Schema.php similarity index 100% rename from lib/orm/Import/Schema.php rename to lib/Doctrine/Import/Schema.php diff --git a/lib/orm/Import/Sqlite.php b/lib/Doctrine/Import/Sqlite.php similarity index 100% rename from lib/orm/Import/Sqlite.php rename to lib/Doctrine/Import/Sqlite.php diff --git a/lib/orm/Inflector.php b/lib/Doctrine/Inflector.php similarity index 100% rename from lib/orm/Inflector.php rename to lib/Doctrine/Inflector.php diff --git a/lib/orm/IntegrityMapper.php b/lib/Doctrine/IntegrityMapper.php similarity index 100% rename from lib/orm/IntegrityMapper.php rename to lib/Doctrine/IntegrityMapper.php diff --git a/lib/orm/Lib.php b/lib/Doctrine/Lib.php similarity index 96% rename from lib/orm/Lib.php rename to lib/Doctrine/Lib.php index acdbf7860..bd9a2ce6f 100644 --- a/lib/orm/Lib.php +++ b/lib/Doctrine/Lib.php @@ -329,7 +329,7 @@ class Doctrine_Lib { $validators = array(); - $dir = Doctrine::locate('Doctrine_Validator'); + $dir = Doctrine::getPath() . DIRECTORY_SEPARATOR . 'Doctrine' . DIRECTORY_SEPARATOR . 'Validator'; $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($dir), RecursiveIteratorIterator::LEAVES_ONLY); foreach ($files as $file) { diff --git a/lib/orm/Locator.php b/lib/Doctrine/Locator.php similarity index 100% rename from lib/orm/Locator.php rename to lib/Doctrine/Locator.php diff --git a/lib/orm/Locator/Exception.php b/lib/Doctrine/Locator/Exception.php similarity index 100% rename from lib/orm/Locator/Exception.php rename to lib/Doctrine/Locator/Exception.php diff --git a/lib/orm/Locator/Injectable.php b/lib/Doctrine/Locator/Injectable.php similarity index 100% rename from lib/orm/Locator/Injectable.php rename to lib/Doctrine/Locator/Injectable.php diff --git a/lib/orm/Locking/Exception.php b/lib/Doctrine/Locking/Exception.php similarity index 100% rename from lib/orm/Locking/Exception.php rename to lib/Doctrine/Locking/Exception.php diff --git a/lib/orm/Locking/Manager/Pessimistic.php b/lib/Doctrine/Locking/Manager/Pessimistic.php similarity index 100% rename from lib/orm/Locking/Manager/Pessimistic.php rename to lib/Doctrine/Locking/Manager/Pessimistic.php diff --git a/lib/orm/Log.php b/lib/Doctrine/Log.php similarity index 100% rename from lib/orm/Log.php rename to lib/Doctrine/Log.php diff --git a/lib/orm/Log/Exception.php b/lib/Doctrine/Log/Exception.php similarity index 100% rename from lib/orm/Log/Exception.php rename to lib/Doctrine/Log/Exception.php diff --git a/lib/orm/Log/Filter/Interface.php b/lib/Doctrine/Log/Filter/Interface.php similarity index 100% rename from lib/orm/Log/Filter/Interface.php rename to lib/Doctrine/Log/Filter/Interface.php diff --git a/lib/orm/Log/Filter/Message.php b/lib/Doctrine/Log/Filter/Message.php similarity index 100% rename from lib/orm/Log/Filter/Message.php rename to lib/Doctrine/Log/Filter/Message.php diff --git a/lib/orm/Log/Filter/Priority.php b/lib/Doctrine/Log/Filter/Priority.php similarity index 100% rename from lib/orm/Log/Filter/Priority.php rename to lib/Doctrine/Log/Filter/Priority.php diff --git a/lib/orm/Log/Filter/Suppress.php b/lib/Doctrine/Log/Filter/Suppress.php similarity index 100% rename from lib/orm/Log/Filter/Suppress.php rename to lib/Doctrine/Log/Filter/Suppress.php diff --git a/lib/orm/Log/Formatter/Interface.php b/lib/Doctrine/Log/Formatter/Interface.php similarity index 100% rename from lib/orm/Log/Formatter/Interface.php rename to lib/Doctrine/Log/Formatter/Interface.php diff --git a/lib/orm/Log/Formatter/Simple.php b/lib/Doctrine/Log/Formatter/Simple.php similarity index 100% rename from lib/orm/Log/Formatter/Simple.php rename to lib/Doctrine/Log/Formatter/Simple.php diff --git a/lib/orm/Log/Formatter/Xml.php b/lib/Doctrine/Log/Formatter/Xml.php similarity index 100% rename from lib/orm/Log/Formatter/Xml.php rename to lib/Doctrine/Log/Formatter/Xml.php diff --git a/lib/orm/Log/Writer/Abstract.php b/lib/Doctrine/Log/Writer/Abstract.php similarity index 100% rename from lib/orm/Log/Writer/Abstract.php rename to lib/Doctrine/Log/Writer/Abstract.php diff --git a/lib/orm/Log/Writer/Db.php b/lib/Doctrine/Log/Writer/Db.php similarity index 100% rename from lib/orm/Log/Writer/Db.php rename to lib/Doctrine/Log/Writer/Db.php diff --git a/lib/orm/Log/Writer/Mock.php b/lib/Doctrine/Log/Writer/Mock.php similarity index 100% rename from lib/orm/Log/Writer/Mock.php rename to lib/Doctrine/Log/Writer/Mock.php diff --git a/lib/orm/Log/Writer/Null.php b/lib/Doctrine/Log/Writer/Null.php similarity index 100% rename from lib/orm/Log/Writer/Null.php rename to lib/Doctrine/Log/Writer/Null.php diff --git a/lib/orm/Log/Writer/Stream.php b/lib/Doctrine/Log/Writer/Stream.php similarity index 100% rename from lib/orm/Log/Writer/Stream.php rename to lib/Doctrine/Log/Writer/Stream.php diff --git a/lib/orm/Manager.php b/lib/Doctrine/Manager.php similarity index 100% rename from lib/orm/Manager.php rename to lib/Doctrine/Manager.php diff --git a/lib/orm/Manager/Exception.php b/lib/Doctrine/Manager/Exception.php similarity index 100% rename from lib/orm/Manager/Exception.php rename to lib/Doctrine/Manager/Exception.php diff --git a/lib/orm/Migration.php b/lib/Doctrine/Migration.php similarity index 100% rename from lib/orm/Migration.php rename to lib/Doctrine/Migration.php diff --git a/lib/orm/Migration/Builder.php b/lib/Doctrine/Migration/Builder.php similarity index 100% rename from lib/orm/Migration/Builder.php rename to lib/Doctrine/Migration/Builder.php diff --git a/lib/orm/Migration/Exception.php b/lib/Doctrine/Migration/Exception.php similarity index 100% rename from lib/orm/Migration/Exception.php rename to lib/Doctrine/Migration/Exception.php diff --git a/lib/orm/Migration/IrreversibleMigrationException.php b/lib/Doctrine/Migration/IrreversibleMigrationException.php similarity index 100% rename from lib/orm/Migration/IrreversibleMigrationException.php rename to lib/Doctrine/Migration/IrreversibleMigrationException.php diff --git a/lib/orm/Migration/Process.php b/lib/Doctrine/Migration/Process.php similarity index 100% rename from lib/orm/Migration/Process.php rename to lib/Doctrine/Migration/Process.php diff --git a/lib/orm/Node.php b/lib/Doctrine/Node.php similarity index 100% rename from lib/orm/Node.php rename to lib/Doctrine/Node.php diff --git a/lib/orm/Node/AdjacencyList.php b/lib/Doctrine/Node/AdjacencyList.php similarity index 100% rename from lib/orm/Node/AdjacencyList.php rename to lib/Doctrine/Node/AdjacencyList.php diff --git a/lib/orm/Node/AdjacencyList/LevelOrderIterator.php b/lib/Doctrine/Node/AdjacencyList/LevelOrderIterator.php similarity index 100% rename from lib/orm/Node/AdjacencyList/LevelOrderIterator.php rename to lib/Doctrine/Node/AdjacencyList/LevelOrderIterator.php diff --git a/lib/orm/Node/AdjacencyList/PostOrderIterator.php b/lib/Doctrine/Node/AdjacencyList/PostOrderIterator.php similarity index 100% rename from lib/orm/Node/AdjacencyList/PostOrderIterator.php rename to lib/Doctrine/Node/AdjacencyList/PostOrderIterator.php diff --git a/lib/orm/Node/AdjacencyList/PreOrderIterator.php b/lib/Doctrine/Node/AdjacencyList/PreOrderIterator.php similarity index 100% rename from lib/orm/Node/AdjacencyList/PreOrderIterator.php rename to lib/Doctrine/Node/AdjacencyList/PreOrderIterator.php diff --git a/lib/orm/Node/Exception.php b/lib/Doctrine/Node/Exception.php similarity index 100% rename from lib/orm/Node/Exception.php rename to lib/Doctrine/Node/Exception.php diff --git a/lib/orm/Node/Interface.php b/lib/Doctrine/Node/Interface.php similarity index 100% rename from lib/orm/Node/Interface.php rename to lib/Doctrine/Node/Interface.php diff --git a/lib/orm/Node/MaterializedPath.php b/lib/Doctrine/Node/MaterializedPath.php similarity index 100% rename from lib/orm/Node/MaterializedPath.php rename to lib/Doctrine/Node/MaterializedPath.php diff --git a/lib/orm/Node/MaterializedPath/LevelOrderIterator.php b/lib/Doctrine/Node/MaterializedPath/LevelOrderIterator.php similarity index 100% rename from lib/orm/Node/MaterializedPath/LevelOrderIterator.php rename to lib/Doctrine/Node/MaterializedPath/LevelOrderIterator.php diff --git a/lib/orm/Node/MaterializedPath/PostOrderIterator.php b/lib/Doctrine/Node/MaterializedPath/PostOrderIterator.php similarity index 100% rename from lib/orm/Node/MaterializedPath/PostOrderIterator.php rename to lib/Doctrine/Node/MaterializedPath/PostOrderIterator.php diff --git a/lib/orm/Node/MaterializedPath/PreOrderIterator.php b/lib/Doctrine/Node/MaterializedPath/PreOrderIterator.php similarity index 100% rename from lib/orm/Node/MaterializedPath/PreOrderIterator.php rename to lib/Doctrine/Node/MaterializedPath/PreOrderIterator.php diff --git a/lib/orm/Node/NestedSet.php b/lib/Doctrine/Node/NestedSet.php similarity index 100% rename from lib/orm/Node/NestedSet.php rename to lib/Doctrine/Node/NestedSet.php diff --git a/lib/orm/Node/NestedSet/LevelOrderIterator.php b/lib/Doctrine/Node/NestedSet/LevelOrderIterator.php similarity index 100% rename from lib/orm/Node/NestedSet/LevelOrderIterator.php rename to lib/Doctrine/Node/NestedSet/LevelOrderIterator.php diff --git a/lib/orm/Node/NestedSet/PostOrderIterator.php b/lib/Doctrine/Node/NestedSet/PostOrderIterator.php similarity index 100% rename from lib/orm/Node/NestedSet/PostOrderIterator.php rename to lib/Doctrine/Node/NestedSet/PostOrderIterator.php diff --git a/lib/orm/Node/NestedSet/PreOrderIterator.php b/lib/Doctrine/Node/NestedSet/PreOrderIterator.php similarity index 100% rename from lib/orm/Node/NestedSet/PreOrderIterator.php rename to lib/Doctrine/Node/NestedSet/PreOrderIterator.php diff --git a/lib/orm/Null.php b/lib/Doctrine/Null.php similarity index 100% rename from lib/orm/Null.php rename to lib/Doctrine/Null.php diff --git a/lib/orm/Overloadable.php b/lib/Doctrine/Overloadable.php similarity index 100% rename from lib/orm/Overloadable.php rename to lib/Doctrine/Overloadable.php diff --git a/lib/orm/Pager.php b/lib/Doctrine/Pager.php similarity index 100% rename from lib/orm/Pager.php rename to lib/Doctrine/Pager.php diff --git a/lib/orm/Pager/Exception.php b/lib/Doctrine/Pager/Exception.php similarity index 100% rename from lib/orm/Pager/Exception.php rename to lib/Doctrine/Pager/Exception.php diff --git a/lib/orm/Pager/Layout.php b/lib/Doctrine/Pager/Layout.php similarity index 100% rename from lib/orm/Pager/Layout.php rename to lib/Doctrine/Pager/Layout.php diff --git a/lib/orm/Pager/Range.php b/lib/Doctrine/Pager/Range.php similarity index 100% rename from lib/orm/Pager/Range.php rename to lib/Doctrine/Pager/Range.php diff --git a/lib/orm/Pager/Range/Jumping.php b/lib/Doctrine/Pager/Range/Jumping.php similarity index 100% rename from lib/orm/Pager/Range/Jumping.php rename to lib/Doctrine/Pager/Range/Jumping.php diff --git a/lib/orm/Pager/Range/Sliding.php b/lib/Doctrine/Pager/Range/Sliding.php similarity index 100% rename from lib/orm/Pager/Range/Sliding.php rename to lib/Doctrine/Pager/Range/Sliding.php diff --git a/lib/orm/Parser.php b/lib/Doctrine/Parser.php similarity index 100% rename from lib/orm/Parser.php rename to lib/Doctrine/Parser.php diff --git a/lib/orm/Parser/Exception.php b/lib/Doctrine/Parser/Exception.php similarity index 100% rename from lib/orm/Parser/Exception.php rename to lib/Doctrine/Parser/Exception.php diff --git a/lib/orm/Parser/Json.php b/lib/Doctrine/Parser/Json.php similarity index 100% rename from lib/orm/Parser/Json.php rename to lib/Doctrine/Parser/Json.php diff --git a/lib/orm/Parser/Serialize.php b/lib/Doctrine/Parser/Serialize.php similarity index 100% rename from lib/orm/Parser/Serialize.php rename to lib/Doctrine/Parser/Serialize.php diff --git a/lib/orm/Parser/Xml.php b/lib/Doctrine/Parser/Xml.php similarity index 100% rename from lib/orm/Parser/Xml.php rename to lib/Doctrine/Parser/Xml.php diff --git a/lib/orm/Parser/Yml.php b/lib/Doctrine/Parser/Yml.php similarity index 100% rename from lib/orm/Parser/Yml.php rename to lib/Doctrine/Parser/Yml.php diff --git a/lib/orm/Parser/spyc.php b/lib/Doctrine/Parser/spyc.php similarity index 100% rename from lib/orm/Parser/spyc.php rename to lib/Doctrine/Parser/spyc.php diff --git a/lib/orm/Query.php b/lib/Doctrine/Query.php similarity index 100% rename from lib/orm/Query.php rename to lib/Doctrine/Query.php diff --git a/lib/orm/Query/Abstract.php b/lib/Doctrine/Query/Abstract.php similarity index 100% rename from lib/orm/Query/Abstract.php rename to lib/Doctrine/Query/Abstract.php diff --git a/lib/orm/Query/Check.php b/lib/Doctrine/Query/Check.php similarity index 100% rename from lib/orm/Query/Check.php rename to lib/Doctrine/Query/Check.php diff --git a/lib/orm/Query/Condition.php b/lib/Doctrine/Query/Condition.php similarity index 100% rename from lib/orm/Query/Condition.php rename to lib/Doctrine/Query/Condition.php diff --git a/lib/orm/Query/Exception.php b/lib/Doctrine/Query/Exception.php similarity index 100% rename from lib/orm/Query/Exception.php rename to lib/Doctrine/Query/Exception.php diff --git a/lib/orm/Query/Filter.php b/lib/Doctrine/Query/Filter.php similarity index 100% rename from lib/orm/Query/Filter.php rename to lib/Doctrine/Query/Filter.php diff --git a/lib/orm/Query/Filter/Chain.php b/lib/Doctrine/Query/Filter/Chain.php similarity index 100% rename from lib/orm/Query/Filter/Chain.php rename to lib/Doctrine/Query/Filter/Chain.php diff --git a/lib/orm/Query/Filter/Interface.php b/lib/Doctrine/Query/Filter/Interface.php similarity index 100% rename from lib/orm/Query/Filter/Interface.php rename to lib/Doctrine/Query/Filter/Interface.php diff --git a/lib/orm/Query/From.php b/lib/Doctrine/Query/From.php similarity index 100% rename from lib/orm/Query/From.php rename to lib/Doctrine/Query/From.php diff --git a/lib/orm/Query/Groupby.php b/lib/Doctrine/Query/Groupby.php similarity index 100% rename from lib/orm/Query/Groupby.php rename to lib/Doctrine/Query/Groupby.php diff --git a/lib/orm/Query/Having.php b/lib/Doctrine/Query/Having.php similarity index 100% rename from lib/orm/Query/Having.php rename to lib/Doctrine/Query/Having.php diff --git a/lib/orm/Query/JoinCondition.php b/lib/Doctrine/Query/JoinCondition.php similarity index 100% rename from lib/orm/Query/JoinCondition.php rename to lib/Doctrine/Query/JoinCondition.php diff --git a/lib/orm/Query/Limit.php b/lib/Doctrine/Query/Limit.php similarity index 100% rename from lib/orm/Query/Limit.php rename to lib/Doctrine/Query/Limit.php diff --git a/lib/orm/Query/Offset.php b/lib/Doctrine/Query/Offset.php similarity index 100% rename from lib/orm/Query/Offset.php rename to lib/Doctrine/Query/Offset.php diff --git a/lib/orm/Query/Orderby.php b/lib/Doctrine/Query/Orderby.php similarity index 100% rename from lib/orm/Query/Orderby.php rename to lib/Doctrine/Query/Orderby.php diff --git a/lib/orm/Query/Parser.php b/lib/Doctrine/Query/Parser.php similarity index 100% rename from lib/orm/Query/Parser.php rename to lib/Doctrine/Query/Parser.php diff --git a/lib/orm/Query/Part.php b/lib/Doctrine/Query/Part.php similarity index 100% rename from lib/orm/Query/Part.php rename to lib/Doctrine/Query/Part.php diff --git a/lib/orm/Query/Registry.php b/lib/Doctrine/Query/Registry.php similarity index 100% rename from lib/orm/Query/Registry.php rename to lib/Doctrine/Query/Registry.php diff --git a/lib/orm/Query/Registry/Exception.php b/lib/Doctrine/Query/Registry/Exception.php similarity index 100% rename from lib/orm/Query/Registry/Exception.php rename to lib/Doctrine/Query/Registry/Exception.php diff --git a/lib/orm/Query/Select.php b/lib/Doctrine/Query/Select.php similarity index 100% rename from lib/orm/Query/Select.php rename to lib/Doctrine/Query/Select.php diff --git a/lib/orm/Query/Set.php b/lib/Doctrine/Query/Set.php similarity index 100% rename from lib/orm/Query/Set.php rename to lib/Doctrine/Query/Set.php diff --git a/lib/orm/Query/Tokenizer.php b/lib/Doctrine/Query/Tokenizer.php similarity index 100% rename from lib/orm/Query/Tokenizer.php rename to lib/Doctrine/Query/Tokenizer.php diff --git a/lib/orm/Query/Tokenizer/Exception.php b/lib/Doctrine/Query/Tokenizer/Exception.php similarity index 100% rename from lib/orm/Query/Tokenizer/Exception.php rename to lib/Doctrine/Query/Tokenizer/Exception.php diff --git a/lib/orm/Query/Where.php b/lib/Doctrine/Query/Where.php similarity index 100% rename from lib/orm/Query/Where.php rename to lib/Doctrine/Query/Where.php diff --git a/lib/orm/RawSql.php b/lib/Doctrine/RawSql.php similarity index 100% rename from lib/orm/RawSql.php rename to lib/Doctrine/RawSql.php diff --git a/lib/orm/RawSql/Exception.php b/lib/Doctrine/RawSql/Exception.php similarity index 100% rename from lib/orm/RawSql/Exception.php rename to lib/Doctrine/RawSql/Exception.php diff --git a/lib/orm/Record.php b/lib/Doctrine/Record.php similarity index 100% rename from lib/orm/Record.php rename to lib/Doctrine/Record.php diff --git a/lib/orm/Record/Abstract.php b/lib/Doctrine/Record/Abstract.php similarity index 100% rename from lib/orm/Record/Abstract.php rename to lib/Doctrine/Record/Abstract.php diff --git a/lib/orm/Record/Exception.php b/lib/Doctrine/Record/Exception.php similarity index 100% rename from lib/orm/Record/Exception.php rename to lib/Doctrine/Record/Exception.php diff --git a/lib/orm/Record/Filter.php b/lib/Doctrine/Record/Filter.php similarity index 100% rename from lib/orm/Record/Filter.php rename to lib/Doctrine/Record/Filter.php diff --git a/lib/orm/Record/Filter/Compound.php b/lib/Doctrine/Record/Filter/Compound.php similarity index 100% rename from lib/orm/Record/Filter/Compound.php rename to lib/Doctrine/Record/Filter/Compound.php diff --git a/lib/orm/Record/Filter/Standard.php b/lib/Doctrine/Record/Filter/Standard.php similarity index 100% rename from lib/orm/Record/Filter/Standard.php rename to lib/Doctrine/Record/Filter/Standard.php diff --git a/lib/orm/Record/Generator.php b/lib/Doctrine/Record/Generator.php similarity index 100% rename from lib/orm/Record/Generator.php rename to lib/Doctrine/Record/Generator.php diff --git a/lib/orm/Record/Iterator.php b/lib/Doctrine/Record/Iterator.php similarity index 100% rename from lib/orm/Record/Iterator.php rename to lib/Doctrine/Record/Iterator.php diff --git a/lib/orm/Record/Listener.php b/lib/Doctrine/Record/Listener.php similarity index 100% rename from lib/orm/Record/Listener.php rename to lib/Doctrine/Record/Listener.php diff --git a/lib/orm/Record/Listener/Chain.php b/lib/Doctrine/Record/Listener/Chain.php similarity index 100% rename from lib/orm/Record/Listener/Chain.php rename to lib/Doctrine/Record/Listener/Chain.php diff --git a/lib/orm/Record/Listener/Interface.php b/lib/Doctrine/Record/Listener/Interface.php similarity index 100% rename from lib/orm/Record/Listener/Interface.php rename to lib/Doctrine/Record/Listener/Interface.php diff --git a/lib/orm/Record/State/Exception.php b/lib/Doctrine/Record/State/Exception.php similarity index 100% rename from lib/orm/Record/State/Exception.php rename to lib/Doctrine/Record/State/Exception.php diff --git a/lib/orm/Relation.php b/lib/Doctrine/Relation.php similarity index 100% rename from lib/orm/Relation.php rename to lib/Doctrine/Relation.php diff --git a/lib/orm/Relation/Association.php b/lib/Doctrine/Relation/Association.php similarity index 100% rename from lib/orm/Relation/Association.php rename to lib/Doctrine/Relation/Association.php diff --git a/lib/orm/Relation/Association/Self.php b/lib/Doctrine/Relation/Association/Self.php similarity index 100% rename from lib/orm/Relation/Association/Self.php rename to lib/Doctrine/Relation/Association/Self.php diff --git a/lib/orm/Relation/Exception.php b/lib/Doctrine/Relation/Exception.php similarity index 100% rename from lib/orm/Relation/Exception.php rename to lib/Doctrine/Relation/Exception.php diff --git a/lib/orm/Relation/ForeignKey.php b/lib/Doctrine/Relation/ForeignKey.php similarity index 100% rename from lib/orm/Relation/ForeignKey.php rename to lib/Doctrine/Relation/ForeignKey.php diff --git a/lib/orm/Relation/LocalKey.php b/lib/Doctrine/Relation/LocalKey.php similarity index 100% rename from lib/orm/Relation/LocalKey.php rename to lib/Doctrine/Relation/LocalKey.php diff --git a/lib/orm/Relation/Nest.php b/lib/Doctrine/Relation/Nest.php similarity index 100% rename from lib/orm/Relation/Nest.php rename to lib/Doctrine/Relation/Nest.php diff --git a/lib/orm/Relation/Parser.php b/lib/Doctrine/Relation/Parser.php similarity index 100% rename from lib/orm/Relation/Parser.php rename to lib/Doctrine/Relation/Parser.php diff --git a/lib/orm/Relation/Parser/Exception.php b/lib/Doctrine/Relation/Parser/Exception.php similarity index 100% rename from lib/orm/Relation/Parser/Exception.php rename to lib/Doctrine/Relation/Parser/Exception.php diff --git a/lib/orm/Search.php b/lib/Doctrine/Search.php similarity index 100% rename from lib/orm/Search.php rename to lib/Doctrine/Search.php diff --git a/lib/orm/Search/Analyzer.php b/lib/Doctrine/Search/Analyzer.php similarity index 100% rename from lib/orm/Search/Analyzer.php rename to lib/Doctrine/Search/Analyzer.php diff --git a/lib/orm/Search/Analyzer/Exception.php b/lib/Doctrine/Search/Analyzer/Exception.php similarity index 100% rename from lib/orm/Search/Analyzer/Exception.php rename to lib/Doctrine/Search/Analyzer/Exception.php diff --git a/lib/orm/Search/Analyzer/Interface.php b/lib/Doctrine/Search/Analyzer/Interface.php similarity index 100% rename from lib/orm/Search/Analyzer/Interface.php rename to lib/Doctrine/Search/Analyzer/Interface.php diff --git a/lib/orm/Search/Analyzer/Standard.php b/lib/Doctrine/Search/Analyzer/Standard.php similarity index 100% rename from lib/orm/Search/Analyzer/Standard.php rename to lib/Doctrine/Search/Analyzer/Standard.php diff --git a/lib/orm/Search/Exception.php b/lib/Doctrine/Search/Exception.php similarity index 100% rename from lib/orm/Search/Exception.php rename to lib/Doctrine/Search/Exception.php diff --git a/lib/orm/Search/File.php b/lib/Doctrine/Search/File.php similarity index 100% rename from lib/orm/Search/File.php rename to lib/Doctrine/Search/File.php diff --git a/lib/orm/Search/Indexer.php b/lib/Doctrine/Search/Indexer.php similarity index 100% rename from lib/orm/Search/Indexer.php rename to lib/Doctrine/Search/Indexer.php diff --git a/lib/orm/Search/Indexer/Dir.php b/lib/Doctrine/Search/Indexer/Dir.php similarity index 100% rename from lib/orm/Search/Indexer/Dir.php rename to lib/Doctrine/Search/Indexer/Dir.php diff --git a/lib/orm/Search/Indexer/Exception.php b/lib/Doctrine/Search/Indexer/Exception.php similarity index 100% rename from lib/orm/Search/Indexer/Exception.php rename to lib/Doctrine/Search/Indexer/Exception.php diff --git a/lib/orm/Search/Listener.php b/lib/Doctrine/Search/Listener.php similarity index 100% rename from lib/orm/Search/Listener.php rename to lib/Doctrine/Search/Listener.php diff --git a/lib/orm/Search/Parser.php b/lib/Doctrine/Search/Parser.php similarity index 100% rename from lib/orm/Search/Parser.php rename to lib/Doctrine/Search/Parser.php diff --git a/lib/orm/Search/Query.php b/lib/Doctrine/Search/Query.php similarity index 100% rename from lib/orm/Search/Query.php rename to lib/Doctrine/Search/Query.php diff --git a/lib/orm/Search/Record.php b/lib/Doctrine/Search/Record.php similarity index 100% rename from lib/orm/Search/Record.php rename to lib/Doctrine/Search/Record.php diff --git a/lib/orm/Search/Scorer.php b/lib/Doctrine/Search/Scorer.php similarity index 100% rename from lib/orm/Search/Scorer.php rename to lib/Doctrine/Search/Scorer.php diff --git a/lib/orm/Sequence.php b/lib/Doctrine/Sequence.php similarity index 100% rename from lib/orm/Sequence.php rename to lib/Doctrine/Sequence.php diff --git a/lib/orm/Sequence/Db2.php b/lib/Doctrine/Sequence/Db2.php similarity index 100% rename from lib/orm/Sequence/Db2.php rename to lib/Doctrine/Sequence/Db2.php diff --git a/lib/orm/Sequence/Exception.php b/lib/Doctrine/Sequence/Exception.php similarity index 100% rename from lib/orm/Sequence/Exception.php rename to lib/Doctrine/Sequence/Exception.php diff --git a/lib/orm/Sequence/Firebird.php b/lib/Doctrine/Sequence/Firebird.php similarity index 100% rename from lib/orm/Sequence/Firebird.php rename to lib/Doctrine/Sequence/Firebird.php diff --git a/lib/orm/Sequence/Informix.php b/lib/Doctrine/Sequence/Informix.php similarity index 100% rename from lib/orm/Sequence/Informix.php rename to lib/Doctrine/Sequence/Informix.php diff --git a/lib/orm/Sequence/Mssql.php b/lib/Doctrine/Sequence/Mssql.php similarity index 100% rename from lib/orm/Sequence/Mssql.php rename to lib/Doctrine/Sequence/Mssql.php diff --git a/lib/orm/Sequence/Mysql.php b/lib/Doctrine/Sequence/Mysql.php similarity index 100% rename from lib/orm/Sequence/Mysql.php rename to lib/Doctrine/Sequence/Mysql.php diff --git a/lib/orm/Sequence/Oracle.php b/lib/Doctrine/Sequence/Oracle.php similarity index 100% rename from lib/orm/Sequence/Oracle.php rename to lib/Doctrine/Sequence/Oracle.php diff --git a/lib/orm/Sequence/Pgsql.php b/lib/Doctrine/Sequence/Pgsql.php similarity index 100% rename from lib/orm/Sequence/Pgsql.php rename to lib/Doctrine/Sequence/Pgsql.php diff --git a/lib/orm/Sequence/Sqlite.php b/lib/Doctrine/Sequence/Sqlite.php similarity index 100% rename from lib/orm/Sequence/Sqlite.php rename to lib/Doctrine/Sequence/Sqlite.php diff --git a/lib/orm/Table.php b/lib/Doctrine/Table.php similarity index 100% rename from lib/orm/Table.php rename to lib/Doctrine/Table.php diff --git a/lib/orm/Table/Exception.php b/lib/Doctrine/Table/Exception.php similarity index 100% rename from lib/orm/Table/Exception.php rename to lib/Doctrine/Table/Exception.php diff --git a/lib/orm/Table/Repository.php b/lib/Doctrine/Table/Repository.php similarity index 100% rename from lib/orm/Table/Repository.php rename to lib/Doctrine/Table/Repository.php diff --git a/lib/orm/Table/Repository/Exception.php b/lib/Doctrine/Table/Repository/Exception.php similarity index 100% rename from lib/orm/Table/Repository/Exception.php rename to lib/Doctrine/Table/Repository/Exception.php diff --git a/lib/orm/Task.php b/lib/Doctrine/Task.php similarity index 100% rename from lib/orm/Task.php rename to lib/Doctrine/Task.php diff --git a/lib/orm/Task/BuildAll.php b/lib/Doctrine/Task/BuildAll.php similarity index 100% rename from lib/orm/Task/BuildAll.php rename to lib/Doctrine/Task/BuildAll.php diff --git a/lib/orm/Task/BuildAllLoad.php b/lib/Doctrine/Task/BuildAllLoad.php similarity index 100% rename from lib/orm/Task/BuildAllLoad.php rename to lib/Doctrine/Task/BuildAllLoad.php diff --git a/lib/orm/Task/BuildAllReload.php b/lib/Doctrine/Task/BuildAllReload.php similarity index 100% rename from lib/orm/Task/BuildAllReload.php rename to lib/Doctrine/Task/BuildAllReload.php diff --git a/lib/orm/Task/Compile.php b/lib/Doctrine/Task/Compile.php similarity index 100% rename from lib/orm/Task/Compile.php rename to lib/Doctrine/Task/Compile.php diff --git a/lib/orm/Task/CreateDb.php b/lib/Doctrine/Task/CreateDb.php similarity index 100% rename from lib/orm/Task/CreateDb.php rename to lib/Doctrine/Task/CreateDb.php diff --git a/lib/orm/Task/CreateTables.php b/lib/Doctrine/Task/CreateTables.php similarity index 100% rename from lib/orm/Task/CreateTables.php rename to lib/Doctrine/Task/CreateTables.php diff --git a/lib/orm/Task/Dql.php b/lib/Doctrine/Task/Dql.php similarity index 100% rename from lib/orm/Task/Dql.php rename to lib/Doctrine/Task/Dql.php diff --git a/lib/orm/Task/DropDb.php b/lib/Doctrine/Task/DropDb.php similarity index 100% rename from lib/orm/Task/DropDb.php rename to lib/Doctrine/Task/DropDb.php diff --git a/lib/orm/Task/DumpData.php b/lib/Doctrine/Task/DumpData.php similarity index 100% rename from lib/orm/Task/DumpData.php rename to lib/Doctrine/Task/DumpData.php diff --git a/lib/orm/Task/Exception.php b/lib/Doctrine/Task/Exception.php similarity index 100% rename from lib/orm/Task/Exception.php rename to lib/Doctrine/Task/Exception.php diff --git a/lib/orm/Task/GenerateMigration.php b/lib/Doctrine/Task/GenerateMigration.php similarity index 100% rename from lib/orm/Task/GenerateMigration.php rename to lib/Doctrine/Task/GenerateMigration.php diff --git a/lib/orm/Task/GenerateMigrationsDb.php b/lib/Doctrine/Task/GenerateMigrationsDb.php similarity index 100% rename from lib/orm/Task/GenerateMigrationsDb.php rename to lib/Doctrine/Task/GenerateMigrationsDb.php diff --git a/lib/orm/Task/GenerateMigrationsModels.php b/lib/Doctrine/Task/GenerateMigrationsModels.php similarity index 100% rename from lib/orm/Task/GenerateMigrationsModels.php rename to lib/Doctrine/Task/GenerateMigrationsModels.php diff --git a/lib/orm/Task/GenerateModelsDb.php b/lib/Doctrine/Task/GenerateModelsDb.php similarity index 100% rename from lib/orm/Task/GenerateModelsDb.php rename to lib/Doctrine/Task/GenerateModelsDb.php diff --git a/lib/orm/Task/GenerateModelsYaml.php b/lib/Doctrine/Task/GenerateModelsYaml.php similarity index 100% rename from lib/orm/Task/GenerateModelsYaml.php rename to lib/Doctrine/Task/GenerateModelsYaml.php diff --git a/lib/orm/Task/GenerateSql.php b/lib/Doctrine/Task/GenerateSql.php similarity index 100% rename from lib/orm/Task/GenerateSql.php rename to lib/Doctrine/Task/GenerateSql.php diff --git a/lib/orm/Task/GenerateYamlDb.php b/lib/Doctrine/Task/GenerateYamlDb.php similarity index 100% rename from lib/orm/Task/GenerateYamlDb.php rename to lib/Doctrine/Task/GenerateYamlDb.php diff --git a/lib/orm/Task/GenerateYamlModels.php b/lib/Doctrine/Task/GenerateYamlModels.php similarity index 100% rename from lib/orm/Task/GenerateYamlModels.php rename to lib/Doctrine/Task/GenerateYamlModels.php diff --git a/lib/orm/Task/LoadData.php b/lib/Doctrine/Task/LoadData.php similarity index 100% rename from lib/orm/Task/LoadData.php rename to lib/Doctrine/Task/LoadData.php diff --git a/lib/orm/Task/LoadDummyData.php b/lib/Doctrine/Task/LoadDummyData.php similarity index 100% rename from lib/orm/Task/LoadDummyData.php rename to lib/Doctrine/Task/LoadDummyData.php diff --git a/lib/orm/Task/Migrate.php b/lib/Doctrine/Task/Migrate.php similarity index 100% rename from lib/orm/Task/Migrate.php rename to lib/Doctrine/Task/Migrate.php diff --git a/lib/orm/Task/RebuildDb.php b/lib/Doctrine/Task/RebuildDb.php similarity index 100% rename from lib/orm/Task/RebuildDb.php rename to lib/Doctrine/Task/RebuildDb.php diff --git a/lib/orm/Template.php b/lib/Doctrine/Template.php similarity index 100% rename from lib/orm/Template.php rename to lib/Doctrine/Template.php diff --git a/lib/orm/Template/Geographical.php b/lib/Doctrine/Template/Geographical.php similarity index 100% rename from lib/orm/Template/Geographical.php rename to lib/Doctrine/Template/Geographical.php diff --git a/lib/orm/Template/I18n.php b/lib/Doctrine/Template/I18n.php similarity index 100% rename from lib/orm/Template/I18n.php rename to lib/Doctrine/Template/I18n.php diff --git a/lib/orm/Template/Listener/Sluggable.php b/lib/Doctrine/Template/Listener/Sluggable.php similarity index 100% rename from lib/orm/Template/Listener/Sluggable.php rename to lib/Doctrine/Template/Listener/Sluggable.php diff --git a/lib/orm/Template/Listener/Timestampable.php b/lib/Doctrine/Template/Listener/Timestampable.php similarity index 100% rename from lib/orm/Template/Listener/Timestampable.php rename to lib/Doctrine/Template/Listener/Timestampable.php diff --git a/lib/orm/Template/NestedSet.php b/lib/Doctrine/Template/NestedSet.php similarity index 100% rename from lib/orm/Template/NestedSet.php rename to lib/Doctrine/Template/NestedSet.php diff --git a/lib/orm/Template/Searchable.php b/lib/Doctrine/Template/Searchable.php similarity index 100% rename from lib/orm/Template/Searchable.php rename to lib/Doctrine/Template/Searchable.php diff --git a/lib/orm/Template/Sluggable.php b/lib/Doctrine/Template/Sluggable.php similarity index 100% rename from lib/orm/Template/Sluggable.php rename to lib/Doctrine/Template/Sluggable.php diff --git a/lib/orm/Template/Taggable.php b/lib/Doctrine/Template/Taggable.php similarity index 100% rename from lib/orm/Template/Taggable.php rename to lib/Doctrine/Template/Taggable.php diff --git a/lib/orm/Template/Timestampable.php b/lib/Doctrine/Template/Timestampable.php similarity index 100% rename from lib/orm/Template/Timestampable.php rename to lib/Doctrine/Template/Timestampable.php diff --git a/lib/orm/Template/Versionable.php b/lib/Doctrine/Template/Versionable.php similarity index 100% rename from lib/orm/Template/Versionable.php rename to lib/Doctrine/Template/Versionable.php diff --git a/lib/orm/Transaction.php b/lib/Doctrine/Transaction.php similarity index 100% rename from lib/orm/Transaction.php rename to lib/Doctrine/Transaction.php diff --git a/lib/orm/Transaction/Exception.php b/lib/Doctrine/Transaction/Exception.php similarity index 100% rename from lib/orm/Transaction/Exception.php rename to lib/Doctrine/Transaction/Exception.php diff --git a/lib/orm/Transaction/Firebird.php b/lib/Doctrine/Transaction/Firebird.php similarity index 100% rename from lib/orm/Transaction/Firebird.php rename to lib/Doctrine/Transaction/Firebird.php diff --git a/lib/orm/Transaction/Informix.php b/lib/Doctrine/Transaction/Informix.php similarity index 100% rename from lib/orm/Transaction/Informix.php rename to lib/Doctrine/Transaction/Informix.php diff --git a/lib/orm/Transaction/Mock.php b/lib/Doctrine/Transaction/Mock.php similarity index 100% rename from lib/orm/Transaction/Mock.php rename to lib/Doctrine/Transaction/Mock.php diff --git a/lib/orm/Transaction/Mssql.php b/lib/Doctrine/Transaction/Mssql.php similarity index 100% rename from lib/orm/Transaction/Mssql.php rename to lib/Doctrine/Transaction/Mssql.php diff --git a/lib/orm/Transaction/Mysql.php b/lib/Doctrine/Transaction/Mysql.php similarity index 100% rename from lib/orm/Transaction/Mysql.php rename to lib/Doctrine/Transaction/Mysql.php diff --git a/lib/orm/Transaction/Oracle.php b/lib/Doctrine/Transaction/Oracle.php similarity index 100% rename from lib/orm/Transaction/Oracle.php rename to lib/Doctrine/Transaction/Oracle.php diff --git a/lib/orm/Transaction/Pgsql.php b/lib/Doctrine/Transaction/Pgsql.php similarity index 100% rename from lib/orm/Transaction/Pgsql.php rename to lib/Doctrine/Transaction/Pgsql.php diff --git a/lib/orm/Transaction/Sqlite.php b/lib/Doctrine/Transaction/Sqlite.php similarity index 100% rename from lib/orm/Transaction/Sqlite.php rename to lib/Doctrine/Transaction/Sqlite.php diff --git a/lib/orm/Tree.php b/lib/Doctrine/Tree.php similarity index 100% rename from lib/orm/Tree.php rename to lib/Doctrine/Tree.php diff --git a/lib/orm/Tree/AdjacencyList.php b/lib/Doctrine/Tree/AdjacencyList.php similarity index 100% rename from lib/orm/Tree/AdjacencyList.php rename to lib/Doctrine/Tree/AdjacencyList.php diff --git a/lib/orm/Tree/Exception.php b/lib/Doctrine/Tree/Exception.php similarity index 100% rename from lib/orm/Tree/Exception.php rename to lib/Doctrine/Tree/Exception.php diff --git a/lib/orm/Tree/Interface.php b/lib/Doctrine/Tree/Interface.php similarity index 100% rename from lib/orm/Tree/Interface.php rename to lib/Doctrine/Tree/Interface.php diff --git a/lib/orm/Tree/MaterializedPath.php b/lib/Doctrine/Tree/MaterializedPath.php similarity index 100% rename from lib/orm/Tree/MaterializedPath.php rename to lib/Doctrine/Tree/MaterializedPath.php diff --git a/lib/orm/Tree/NestedSet.php b/lib/Doctrine/Tree/NestedSet.php similarity index 100% rename from lib/orm/Tree/NestedSet.php rename to lib/Doctrine/Tree/NestedSet.php diff --git a/lib/orm/Util.php b/lib/Doctrine/Util.php similarity index 100% rename from lib/orm/Util.php rename to lib/Doctrine/Util.php diff --git a/lib/orm/Validator.php b/lib/Doctrine/Validator.php similarity index 100% rename from lib/orm/Validator.php rename to lib/Doctrine/Validator.php diff --git a/lib/orm/Validator/Country.php b/lib/Doctrine/Validator/Country.php similarity index 100% rename from lib/orm/Validator/Country.php rename to lib/Doctrine/Validator/Country.php diff --git a/lib/orm/Validator/Creditcard.php b/lib/Doctrine/Validator/Creditcard.php similarity index 100% rename from lib/orm/Validator/Creditcard.php rename to lib/Doctrine/Validator/Creditcard.php diff --git a/lib/orm/Validator/Date.php b/lib/Doctrine/Validator/Date.php similarity index 100% rename from lib/orm/Validator/Date.php rename to lib/Doctrine/Validator/Date.php diff --git a/lib/orm/Validator/Driver.php b/lib/Doctrine/Validator/Driver.php similarity index 100% rename from lib/orm/Validator/Driver.php rename to lib/Doctrine/Validator/Driver.php diff --git a/lib/orm/Validator/Email.php b/lib/Doctrine/Validator/Email.php similarity index 100% rename from lib/orm/Validator/Email.php rename to lib/Doctrine/Validator/Email.php diff --git a/lib/orm/Validator/ErrorStack.php b/lib/Doctrine/Validator/ErrorStack.php similarity index 100% rename from lib/orm/Validator/ErrorStack.php rename to lib/Doctrine/Validator/ErrorStack.php diff --git a/lib/orm/Validator/Exception.php b/lib/Doctrine/Validator/Exception.php similarity index 100% rename from lib/orm/Validator/Exception.php rename to lib/Doctrine/Validator/Exception.php diff --git a/lib/orm/Validator/Future.php b/lib/Doctrine/Validator/Future.php similarity index 100% rename from lib/orm/Validator/Future.php rename to lib/Doctrine/Validator/Future.php diff --git a/lib/orm/Validator/Htmlcolor.php b/lib/Doctrine/Validator/Htmlcolor.php similarity index 100% rename from lib/orm/Validator/Htmlcolor.php rename to lib/Doctrine/Validator/Htmlcolor.php diff --git a/lib/orm/Validator/Ip.php b/lib/Doctrine/Validator/Ip.php similarity index 100% rename from lib/orm/Validator/Ip.php rename to lib/Doctrine/Validator/Ip.php diff --git a/lib/orm/Validator/Minlength.php b/lib/Doctrine/Validator/Minlength.php similarity index 100% rename from lib/orm/Validator/Minlength.php rename to lib/Doctrine/Validator/Minlength.php diff --git a/lib/orm/Validator/Nospace.php b/lib/Doctrine/Validator/Nospace.php similarity index 100% rename from lib/orm/Validator/Nospace.php rename to lib/Doctrine/Validator/Nospace.php diff --git a/lib/orm/Validator/Notblank.php b/lib/Doctrine/Validator/Notblank.php similarity index 100% rename from lib/orm/Validator/Notblank.php rename to lib/Doctrine/Validator/Notblank.php diff --git a/lib/orm/Validator/Notnull.php b/lib/Doctrine/Validator/Notnull.php similarity index 100% rename from lib/orm/Validator/Notnull.php rename to lib/Doctrine/Validator/Notnull.php diff --git a/lib/orm/Validator/Past.php b/lib/Doctrine/Validator/Past.php similarity index 100% rename from lib/orm/Validator/Past.php rename to lib/Doctrine/Validator/Past.php diff --git a/lib/orm/Validator/Protected.php b/lib/Doctrine/Validator/Protected.php similarity index 100% rename from lib/orm/Validator/Protected.php rename to lib/Doctrine/Validator/Protected.php diff --git a/lib/orm/Validator/Range.php b/lib/Doctrine/Validator/Range.php similarity index 100% rename from lib/orm/Validator/Range.php rename to lib/Doctrine/Validator/Range.php diff --git a/lib/orm/Validator/Regexp.php b/lib/Doctrine/Validator/Regexp.php similarity index 100% rename from lib/orm/Validator/Regexp.php rename to lib/Doctrine/Validator/Regexp.php diff --git a/lib/orm/Validator/Unique.php b/lib/Doctrine/Validator/Unique.php similarity index 100% rename from lib/orm/Validator/Unique.php rename to lib/Doctrine/Validator/Unique.php diff --git a/lib/orm/Validator/Unsigned.php b/lib/Doctrine/Validator/Unsigned.php similarity index 100% rename from lib/orm/Validator/Unsigned.php rename to lib/Doctrine/Validator/Unsigned.php diff --git a/lib/orm/Validator/Usstate.php b/lib/Doctrine/Validator/Usstate.php similarity index 100% rename from lib/orm/Validator/Usstate.php rename to lib/Doctrine/Validator/Usstate.php diff --git a/lib/orm/View.php b/lib/Doctrine/View.php similarity index 100% rename from lib/orm/View.php rename to lib/Doctrine/View.php diff --git a/lib/orm/View/Exception.php b/lib/Doctrine/View/Exception.php similarity index 100% rename from lib/orm/View/Exception.php rename to lib/Doctrine/View/Exception.php