Skip to content

Commit

Permalink
Remove dependency on doctrine/common
Browse files Browse the repository at this point in the history
  • Loading branch information
Majkl578 committed Jun 7, 2018
1 parent fafac8d commit 42ffe46
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 299 deletions.
7 changes: 7 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# 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()``

This method now throws SPL ``UnexpectedValueException`` instead of accidentally throwing ``Doctrine\Common\Proxy\Exception\UnexpectedValueException``.
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"require": {
"php": "^7.1",
"ext-pdo": "*",
"doctrine/common": "^2.7.1"
"doctrine/cache": "^1.0",
"doctrine/event-manager": "^1.0@dev"
},
"require-dev": {
"doctrine/coding-standard": "^4.0",
Expand Down
Loading

0 comments on commit 42ffe46

Please sign in to comment.