Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use multiple migrations directories and namespaces * update more commands * increase version * allow custom sorting * executor * remove start migration * value object comparison for versions * adapted execute command * do not load from sub namespaces * format migration state * start adapting tests * stricter execution result * create MigratorConfigurationFactory * extract factory interface * fix event dispatcher * use configuration loaders, drop inheritance * add config loader tests * config tests * executor tests * command tests * up to date command * migrations repo tests * metadata tests * alias resolver tests * factory test * cs and tests * interface * autocommit listener * migration plan calculator tests * simplify code for migration plan calculator * more tests * rollup test * restore file builder * test schema diff * stub schema provider * dump schema test * generate test * diff command * dix deps * execute command * migrate command * remove outdated tests * simplify class * Update documentation * more changes * add event arg test * static analysis * moved new-migrations and unavailable migrations to the plan calculator * green tests * fix most of the phpstan stuff * update xsd validator for 3.0 * phpstan * add constructor provided migrations * add missing range feature * fix some failing tests * missing factory method * add config loader * first/last tests * di test * move migrator option to command * migrator tests * phpstan and tests * restore down migration behaviour * stof code review suggestions * use datetime immutable * mark value objects as final * single queries are run in debug mode * ensure proper typecasting * skip migration version table in the schema dumps * allow to filter tables in a dump * prepare upgrading document * version it is a string * fix too large column size * change output levels * fixed a lot of stuff from code review * move generateVersionNumber out of config class * rename MigratorConfigurationFactory * rename Factory * cs * add version equals method * rename interfaces * more readable executed at code * ensure lowercase column names * document migrator interface * code reviews by @greg0ire * alphabetical sorting of loaders * change argument order of ConnectionHelperLoader * rename PhpFileLoader * remove param default * mark getDirectoryRelativeToFile as final * rename UnableToLoadResource * mark ConfigurationLoader as internal * split table storage documentation * MigrationNotAvailable::forVersion * update composer lock * handle possible regex errors * diff command tests fixed after rebase * upgrade * run cs on php 7.2 * windows tests * filesystem sorting is not relevant in the finder * migration plan execution is immutable * warn to not use registerMigrationInstance * regex finder accepts any class naming * do not allow invalid config keys * array loader is a hard dependency for the other loaders * no invalid keys are allowed * refer to https://github.com/Roave/BackwardCompatibilityCheck instead of having a long list * classgenerator test * rename AliasResolver into DefaultAliasResolver * rename AbstractCommand into DoctrineCommand * removed cs rules for outdated classes * renamed ConfigurationHelperInterface into ConfigurationHelper * renamed ConnectionLoaderInterface into ConnectionLoader * removed cs rules for outdated classes * renamed ParameterFormatter into InlineParameterFormatter * renamed FileBuilderInterface into ConcatenationFileBuilder * renamed ExecutorInterface into Executor * ensure there is always some metadata configuration set * renamed Migrator into DbalMigrator * add typehint on version class * fixed typo in MetadataStorageConfiguration class * re sort imports after class renaming
- Loading branch information