Fix incorrect exception thrown from SQLAnywhere16Platform

parent 61b266cf
# Upgrade to 2.8
## Corrected exception thrown by ``Doctrine\DBAL\Platforms\SQLAnywhere16Platform::getAdvancedIndexOptionsSQL()``
This method now throws SPL ``UnexpectedValueException`` instead of accidentally throwing ``Doctrine\Common\Proxy\Exception\UnexpectedValueException``.
# Upgrade to 2.7 # Upgrade to 2.7
## Doctrine\DBAL\Platforms\AbstractPlatform::DATE_INTERVAL_UNIT_* constants deprecated ## Doctrine\DBAL\Platforms\AbstractPlatform::DATE_INTERVAL_UNIT_* constants deprecated
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
namespace Doctrine\DBAL\Platforms; namespace Doctrine\DBAL\Platforms;
use Doctrine\Common\Proxy\Exception\UnexpectedValueException;
use Doctrine\DBAL\Schema\Index; use Doctrine\DBAL\Schema\Index;
use UnexpectedValueException;
/** /**
* The SQLAnywhere16Platform provides the behavior, features and SQL dialect of the * The SQLAnywhere16Platform provides the behavior, features and SQL dialect of the
......
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