Unverified Commit 9b2db8d2 authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3861 from morozov/deprecate-version

Deprecated the usage of the Version class
parents ae76cccb 1d0ebf04
# Upgrade to 2.11
## Deprecated `Doctrine\DBAL\Version` class
The usage of the `Doctrine\DBAL\Version` class is deprecated as internal implementation detail. Please refrain from checking the DBAL version at runtime.
## Deprecated `ExpressionBuilder` methods
The usage of the `andX()` and `orX()` methods of the `ExpressionBuilder` class has been deprecated. Use `and()` and `or()` instead.
......
......@@ -8,6 +8,9 @@ use function version_compare;
/**
* Class to store and retrieve the version of Doctrine.
*
* @internal
* @deprecated Refrain from checking the DBAL version at runtime.
*/
class Version
{
......
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