Skip to content

Instantly share code, notes, and snippets.

@goetas
Last active September 23, 2019 15:37
Show Gist options
  • Save goetas/92e9688dc0e2a2771d4792d71f909a1c to your computer and use it in GitHub Desktop.
Save goetas/92e9688dc0e2a2771d4792d71f909a1c to your computer and use it in GitHub Desktop.

Added

  • Method getConfiguration() was added to interface Doctrine\Migrations\Tools\Console\Helper\ConfigurationHelperInterface

Changed

  • The parameter $config of Doctrine\Migrations\Event\MigrationsEventArgs#__construct() changed from Doctrine\Migrations\Configuration\Configuration to a non-contravariant Doctrine\DBAL\Connection
  • The parameter $direction of Doctrine\Migrations\Event\MigrationsEventArgs#__construct() changed from string to a non-contravariant Doctrine\Migrations\Metadata\MigrationPlanList
  • The parameter $dryRun of Doctrine\Migrations\Event\MigrationsEventArgs#__construct() changed from bool to a non-contravariant Doctrine\Migrations\MigratorConfiguration
  • The parameter $config of Doctrine\Migrations\Event\MigrationsEventArgs#__construct() changed from Doctrine\Migrations\Configuration\Configuration to Doctrine\DBAL\Connection
  • The parameter $direction of Doctrine\Migrations\Event\MigrationsEventArgs#__construct() changed from string to Doctrine\Migrations\Metadata\MigrationPlanList
  • The parameter $dryRun of Doctrine\Migrations\Event\MigrationsEventArgs#__construct() changed from bool to Doctrine\Migrations\MigratorConfiguration
  • The parameter $version of Doctrine\Migrations\Event\MigrationsVersionEventArgs#__construct() changed from Doctrine\Migrations\Version\Version to a non-contravariant Doctrine\DBAL\Connection
  • The parameter $config of Doctrine\Migrations\Event\MigrationsVersionEventArgs#__construct() changed from Doctrine\Migrations\Configuration\Configuration to a non-contravariant Doctrine\Migrations\Metadata\MigrationPlan
  • The parameter $direction of Doctrine\Migrations\Event\MigrationsVersionEventArgs#__construct() changed from string to a non-contravariant Doctrine\Migrations\MigratorConfiguration
  • The parameter $version of Doctrine\Migrations\Event\MigrationsVersionEventArgs#__construct() changed from Doctrine\Migrations\Version\Version to Doctrine\DBAL\Connection
  • The parameter $config of Doctrine\Migrations\Event\MigrationsVersionEventArgs#__construct() changed from Doctrine\Migrations\Configuration\Configuration to Doctrine\Migrations\Metadata\MigrationPlan
  • The parameter $direction of Doctrine\Migrations\Event\MigrationsVersionEventArgs#__construct() changed from string to Doctrine\Migrations\MigratorConfiguration
  • Type documentation for property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$dependencyFactory changed from `Doctrine\Migrations\DependencyFactory to \Doctrine\Migrations\DependencyFactory|null`
  • The parameter $schemaProvider of Doctrine\Migrations\Tools\Console\Command\DiffCommand#__construct() changed from ?Doctrine\Migrations\Provider\SchemaProviderInterface to a non-contravariant ?string
  • The parameter $schemaProvider of Doctrine\Migrations\Tools\Console\Command\DiffCommand#__construct() changed from ?Doctrine\Migrations\Provider\SchemaProviderInterface to ?string
  • Type documentation for property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$dependencyFactory changed from `Doctrine\Migrations\DependencyFactory to \Doctrine\Migrations\DependencyFactory|null`
  • Type documentation for property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$dependencyFactory changed from `Doctrine\Migrations\DependencyFactory to \Doctrine\Migrations\DependencyFactory|null`
  • Type documentation for property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$dependencyFactory changed from `Doctrine\Migrations\DependencyFactory to \Doctrine\Migrations\DependencyFactory|null`
  • Type documentation for property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$dependencyFactory changed from `Doctrine\Migrations\DependencyFactory to \Doctrine\Migrations\DependencyFactory|null`
  • Type documentation for property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$dependencyFactory changed from `Doctrine\Migrations\DependencyFactory to \Doctrine\Migrations\DependencyFactory|null`
  • Type documentation for property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$dependencyFactory changed from `Doctrine\Migrations\DependencyFactory to \Doctrine\Migrations\DependencyFactory|null`
  • Type documentation for property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$dependencyFactory changed from `Doctrine\Migrations\DependencyFactory to \Doctrine\Migrations\DependencyFactory|null`
  • Type documentation for property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$dependencyFactory changed from `Doctrine\Migrations\DependencyFactory to \Doctrine\Migrations\DependencyFactory|null`
  • Type documentation for property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$dependencyFactory changed from `Doctrine\Migrations\DependencyFactory to \Doctrine\Migrations\DependencyFactory|null`
  • Type documentation for property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$dependencyFactory changed from `Doctrine\Migrations\DependencyFactory to \Doctrine\Migrations\DependencyFactory|null`
  • The parameter $connection of Doctrine\Migrations\Tools\Console\Helper\ConfigurationHelper#__construct() changed from Doctrine\DBAL\Connection to a non-contravariant ?Doctrine\Migrations\Configuration\ConfigurationLoader
  • The parameter $connection of Doctrine\Migrations\Tools\Console\Helper\ConfigurationHelper#__construct() changed from Doctrine\DBAL\Connection to ?Doctrine\Migrations\Configuration\ConfigurationLoader
  • The number of required arguments for Doctrine\Migrations\AbstractMigration#__construct() increased from 1 to 2
  • The parameter $version of Doctrine\Migrations\AbstractMigration#__construct() changed from Doctrine\Migrations\Version\Version to a non-contravariant Doctrine\DBAL\Connection
  • The parameter $version of Doctrine\Migrations\AbstractMigration#__construct() changed from Doctrine\Migrations\Version\Version to Doctrine\DBAL\Connection
  • The parameter $configuration of Doctrine\Migrations\Version\Factory#__construct() changed from Doctrine\Migrations\Configuration\Configuration to Doctrine\DBAL\Connection
  • The parameter $versionExecutor of Doctrine\Migrations\Version\Factory#__construct() changed from Doctrine\Migrations\Version\ExecutorInterface to Psr\Log\LoggerInterface
  • The return type of Doctrine\Migrations\Version\Factory#createVersion() changed from Doctrine\Migrations\Version\Version to the non-covariant Doctrine\Migrations\AbstractMigration
  • The return type of Doctrine\Migrations\Version\Factory#createVersion() changed from Doctrine\Migrations\Version\Version to Doctrine\Migrations\AbstractMigration

Removed

  • Method Doctrine\Migrations\Event\MigrationsEventArgs#getConfiguration() was removed
  • Method Doctrine\Migrations\Event\MigrationsEventArgs#getDirection() was removed
  • Method Doctrine\Migrations\Event\MigrationsEventArgs#isDryRun() was removed
  • Method Doctrine\Migrations\Event\MigrationsVersionEventArgs#getVersion() was removed
  • Method Doctrine\Migrations\Event\MigrationsEventArgs#getConfiguration() was removed
  • Method Doctrine\Migrations\Event\MigrationsEventArgs#getDirection() was removed
  • Method Doctrine\Migrations\Event\MigrationsEventArgs#isDryRun() was removed
  • These ancestors of Doctrine\Migrations\Event\MigrationsVersionEventArgs have been removed: ["Doctrine\\Migrations\\Event\\MigrationsEventArgs"]
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$configuration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$connection was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationRepository was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationConfiguration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\DiffCommand#$schemaProvider was removed
  • Method Doctrine\Migrations\Tools\Console\Command\DiffCommand#createMigrationDiffGenerator() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setConnection() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setDependencyFactory() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationRepository() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#getMigrationConfiguration() was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$configuration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$connection was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationRepository was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationConfiguration was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setConnection() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setDependencyFactory() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationRepository() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#getMigrationConfiguration() was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$configuration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$connection was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationRepository was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationConfiguration was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setConnection() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setDependencyFactory() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationRepository() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#getMigrationConfiguration() was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$configuration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$connection was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationRepository was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationConfiguration was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setConnection() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setDependencyFactory() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationRepository() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#getMigrationConfiguration() was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$configuration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$connection was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationRepository was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationConfiguration was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setConnection() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setDependencyFactory() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationRepository() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#getMigrationConfiguration() was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$configuration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$connection was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationRepository was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationConfiguration was removed
  • Method Doctrine\Migrations\Tools\Console\Command\MigrateCommand#createMigrator() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setConnection() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setDependencyFactory() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationRepository() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#getMigrationConfiguration() was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$configuration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$connection was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationRepository was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationConfiguration was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setConnection() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setDependencyFactory() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationRepository() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#getMigrationConfiguration() was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$configuration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$connection was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationRepository was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationConfiguration was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setConnection() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setDependencyFactory() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationRepository() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#getMigrationConfiguration() was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$configuration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$connection was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationRepository was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationConfiguration was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setConnection() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setDependencyFactory() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationRepository() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#getMigrationConfiguration() was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$configuration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$connection was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationRepository was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationConfiguration was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setConnection() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setDependencyFactory() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationRepository() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#getMigrationConfiguration() was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$configuration was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$connection was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationRepository was removed
  • Property Doctrine\Migrations\Tools\Console\Command\AbstractCommand#$migrationConfiguration was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setConnection() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setDependencyFactory() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#setMigrationRepository() was removed
  • Method Doctrine\Migrations\Tools\Console\Command\AbstractCommand#getMigrationConfiguration() was removed
  • Method Doctrine\Migrations\Tools\Console\Helper\ConfigurationHelper#getMigrationConfig() was removed
  • Method Doctrine\Migrations\Tools\Console\Helper\ConfigurationHelperInterface#getMigrationConfig() was removed
  • Property Doctrine\Migrations\AbstractMigration#$version was removed
  • Class Doctrine\Migrations\Configuration\Exception\MigrationsNamespaceRequired has been deleted
  • Class Doctrine\Migrations\Configuration\Exception\FileAlreadyLoaded has been deleted
  • Method Doctrine\Migrations\Configuration\Configuration#__construct() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getConnection() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#setMigrationsTableName() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getMigrationsTableName() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#setMigrationsColumnName() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getMigrationsColumnName() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getQuotedMigrationsColumnName() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#setMigrationsColumnLength() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getMigrationsColumnLength() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#setMigrationsExecutedAtColumnName() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getMigrationsExecutedAtColumnName() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getQuotedMigrationsExecutedAtColumnName() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#setMigrationsDirectory() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getMigrationsDirectory() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#setMigrationsNamespace() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getMigrationsNamespace() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#setMigrationsFinder() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getMigrationsFinder() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#hasVersionMigrated() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getVersionData() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#resolveVersionAlias() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#isMigrationTableCreated() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#createMigrationTable() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getDateTime() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#connect() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#dispatchMigrationEvent() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#dispatchVersionEvent() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#dispatchEvent() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getNumberOfExecutedMigrations() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getNumberOfAvailableMigrations() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getLatestVersion() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getMigratedVersions() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getAvailableVersions() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getCurrentVersion() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#registerMigrationsFromDirectory() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#registerMigration() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#registerMigrations() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getMigrations() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getVersion() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#hasVersion() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getMigrationsToExecute() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getPrevVersion() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getNextVersion() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getRelativeVersion() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getDeltaVersion() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#setOutputWriter() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getOutputWriter() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getQueryWriter() was removed
  • Method Doctrine\Migrations\Configuration\Configuration#getDependencyFactory() was removed
  • Class Doctrine\Migrations\Exception\MigrationNotConvertibleToSql has been deleted
  • Class Doctrine\Migrations\OutputWriter has been deleted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment