DBALException::invalidPlatformType() is unused as of v2.7.0

parent 28ac2961
# Upgrade to 2.11 # Upgrade to 2.11
## `DBALException` factory method deprecations
1. `DBALException::invalidPlatformType()` is deprecated as unused as of v2.7.0.
## `AbstractPlatform::fixSchemaElementName()` is deprecated. ## `AbstractPlatform::fixSchemaElementName()` is deprecated.
The method is not used anywhere except for tests. The method is not used anywhere except for tests.
......
...@@ -38,6 +38,9 @@ class DBALException extends Exception ...@@ -38,6 +38,9 @@ class DBALException extends Exception
return new self(sprintf("Operation '%s' is not supported by platform.", $method)); return new self(sprintf("Operation '%s' is not supported by platform.", $method));
} }
/**
* @deprecated Use {@link invalidPlatformType()} instead.
*/
public static function invalidPlatformSpecified(): self public static function invalidPlatformSpecified(): self
{ {
return new self( return new self(
......
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