Unverified Commit 79c732ba authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #3181 from Majkl578/drop-common-dependency

Remove dependency on doctrine/common
parents b9fec6be 303aee4c
# Upgrade to 2.8 # Upgrade to 2.8
## Removed dependency on doctrine/common
The dependency on doctrine/common package has been removed.
DBAL now depends on doctrine/cache and doctrine/event-manager instead.
If you are using any other component from doctrine/common package,
you will have to add an explicit dependency to your composer.json.
## Corrected exception thrown by ``Doctrine\DBAL\Platforms\SQLAnywhere16Platform::getAdvancedIndexOptionsSQL()`` ## Corrected exception thrown by ``Doctrine\DBAL\Platforms\SQLAnywhere16Platform::getAdvancedIndexOptionsSQL()``
This method now throws SPL ``UnexpectedValueException`` instead of accidentally throwing ``Doctrine\Common\Proxy\Exception\UnexpectedValueException``. This method now throws SPL ``UnexpectedValueException`` instead of accidentally throwing ``Doctrine\Common\Proxy\Exception\UnexpectedValueException``.
......
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
"require": { "require": {
"php": "^7.1", "php": "^7.1",
"ext-pdo": "*", "ext-pdo": "*",
"doctrine/common": "^2.7.1" "doctrine/cache": "^1.0",
"doctrine/event-manager": "^1.0"
}, },
"require-dev": { "require-dev": {
"doctrine/coding-standard": "^4.0", "doctrine/coding-standard": "^4.0",
......
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