Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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