-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate stuff removed in 3.0 #3580
Labels
Milestone
Comments
beberlei
added a commit
to beberlei/dbal
that referenced
this issue
Mar 7, 2021
beberlei
added a commit
to beberlei/dbal
that referenced
this issue
Mar 7, 2021
beberlei
added a commit
to beberlei/dbal
that referenced
this issue
Mar 11, 2021
beberlei
added a commit
to beberlei/dbal
that referenced
this issue
Mar 11, 2021
beberlei
added a commit
to beberlei/dbal
that referenced
this issue
Mar 22, 2021
beberlei
added a commit
to beberlei/dbal
that referenced
this issue
Mar 27, 2021
Co-authored-by: Grégoire Paris <postmaster@greg0ire.fr>
beberlei
added a commit
to beberlei/dbal
that referenced
this issue
Mar 27, 2021
Co-authored-by: Grégoire Paris <postmaster@greg0ire.fr>
beberlei
added a commit
to beberlei/dbal
that referenced
this issue
Mar 27, 2021
Co-authored-by: Grégoire Paris <postmaster@greg0ire.fr>
beberlei
added a commit
to beberlei/dbal
that referenced
this issue
Mar 27, 2021
Co-authored-by: Grégoire Paris <postmaster@greg0ire.fr>
beberlei
added a commit
to beberlei/dbal
that referenced
this issue
Mar 27, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Going to rework the following in to a list of deprecations that are needed for 2.x
BC BREAK: Changes in the
Doctrine\DBAL\Event
APISchemaAlterTableAddColumnEventArgs::addSql()
and the same method in otherSchemaEventArgs
-based classes no longer accept an array of SQL statements. They accept a variadic string.ConnectionEventArgs::getDriver()
,::getDatabasePlatform()
and::getSchemaManager()
methods have been removed. The connection information can be obtained from the connection which is available via::getConnection()
.SchemaColumnDefinitionEventArgs::getDatabasePlatform()
andSchemaIndexDefinitionEventArgs::getDatabasePlatform()
have been removed for the same reason as above.BC BREAK: Changes in the
Doctrine\DBAL\Connection
API::getHost()
,::getPort()
,::getUsername()
,::getPassword()
.::getDatabase()
method can now return null which means that no database is currently selected.BC BREAK: Changes in
Doctrine\DBAL\Driver\SQLSrv\LastInsertId
BC BREAK: Changes in the
Doctrine\DBAL\Schema
APIDoctrine\DBAL\Schema\AbstractSchemaManager::_getPortableViewDefinition()
no longer optionally returns false. It will always return aDoctrine\DBAL\Schema\View
instance.Doctrine\DBAL\Schema\Comparator::diffTable()
now optionally returns null instead of false.Doctrine\DBAL\Schema\TableDiff::$newName
is now optionally null instead of false.Doctrine\DBAL\Schema\AbstractSchemaManager::tablesExist()
no longer accepts a string. UseDoctrine\DBAL\Schema\AbstractSchemaManager::tableExists()
instead.Doctrine\DBAL\Schema\OracleSchemaManager::createDatabase()
no longer acceptsnull
for$database
argument.Doctrine\DBAL\Schema\AbstractSchemaManager::_getPortableFunctionsList()
Doctrine\DBAL\Schema\AbstractSchemaManager::_getPortableFunctionDefinition()
Doctrine\DBAL\Schema\OracleSchemaManager::_getPortableFunctionDefinition()
Doctrine\DBAL\Schema\SqliteSchemaManager::_getPortableTableIndexDefinition()
BC BREAK: Changes in the
Doctrine\DBAL\Driver
API$username
and$password
arguments of::connect()
are no longer nullable. Use an empty string to indicate empty username or password.::getDatabase()
has been documented as nullable since some of the drivers allow establishing a connection without selecting a database.BC BREAK:
Doctrine\DBAL\Driver::getName()
removedThe
Doctrine\DBAL\Driver::getName()
has been removed.The text was updated successfully, but these errors were encountered: