The usage of user-provided PDO instance is deprecated as of v2.10.0

parent af7644ed
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
## `DBALException` factory method deprecations ## `DBALException` factory method deprecations
1. `DBALException::invalidPlatformType()` is deprecated as unused as of v2.7.0. 1. `DBALException::invalidPlatformType()` is deprecated as unused as of v2.7.0.
2. `DBALException::invalidPdoInstance()` as passing a PDO instance via configuration is deprecated.
## `AbstractPlatform::fixSchemaElementName()` is deprecated. ## `AbstractPlatform::fixSchemaElementName()` is deprecated.
......
...@@ -93,6 +93,8 @@ class DBALException extends Exception ...@@ -93,6 +93,8 @@ class DBALException extends Exception
} }
/** /**
* @deprecated Passing a PDO instance in connection parameters is deprecated.
*
* @return DBALException * @return DBALException
*/ */
public static function invalidPdoInstance() public static function invalidPdoInstance()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment