Skip to content

Commit b1770c7

Browse files
committed
Remove AbstractPlatform constants
1 parent cff771b commit b1770c7

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

UPGRADE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ awareness about deprecated code.
88

99
# Upgrade to 5.0
1010

11+
## BC BREAK: Removed `AbstractPlatform` constants
12+
13+
The `CREATE_INDEXES` and `CREATE_FOREIGNKEYS` constants have been removed from the `AbstractPlatform` class.
14+
1115
## BC BREAK: Add `Result::getColumnName()`
1216

1317
A new method `getColumnName()` has been added to the `Result` interface and must be implemented by

src/Platforms/AbstractPlatform.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@
7272
*/
7373
abstract class AbstractPlatform
7474
{
75-
/** @deprecated */
76-
public const CREATE_INDEXES = 1;
77-
78-
/** @deprecated */
79-
public const CREATE_FOREIGNKEYS = 2;
80-
8175
/** @var string[]|null */
8276
protected ?array $doctrineTypeMapping = null;
8377

0 commit comments

Comments
 (0)