Skip to content

Commit

Permalink
Remove platform-specific portability mode constants
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Jun 11, 2020
1 parent a2fcaee commit 7b937a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
4 changes: 4 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Upgrade to 3.0

## Removed `Portability\Connection::PORTABILITY_{PLATFORM}` constants`

The platform-specific portability constants were internal implementation details which are longer relevant.

## BC BREAK changes in fetching statement results

1. The `Statement` interface no longer extends `ResultStatement`.
Expand Down
13 changes: 0 additions & 13 deletions src/Portability/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,6 @@ class Connection extends \Doctrine\DBAL\Connection
public const PORTABILITY_EMPTY_TO_NULL = 4;
public const PORTABILITY_FIX_CASE = 8;

/**#@+
*
* @deprecated Will be removed as internal implementation details.
*/
public const PORTABILITY_DB2 = 13;
public const PORTABILITY_ORACLE = 9;
public const PORTABILITY_POSTGRESQL = 13;
public const PORTABILITY_SQLITE = 13;
public const PORTABILITY_OTHERVENDORS = 12;
public const PORTABILITY_SQLANYWHERE = 13;
public const PORTABILITY_SQLSRV = 13;
/**#@-*/

/** @var Converter */
private $converter;

Expand Down

0 comments on commit 7b937a8

Please sign in to comment.