Skip to content

Commit

Permalink
Deprecate AbstractPlatform::supportsForeignKeyOnUpdate()
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Aug 26, 2020
1 parent fef8e7a commit acd5837
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ The following PDO-related classes outside of the PDO namespace have been depreca
1. `fixSchemaElementName()`.
2. `getSQLResultCasing()`.
3. `prefersSequences()`.
4. `supportsForeignKeyOnUpdate()`.

##`ServerInfoAwareConnection::requiresQueryForServerVersion()` is deprecated.

Expand Down
2 changes: 2 additions & 0 deletions lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -3232,6 +3232,8 @@ public function supportsCreateDropForeignKeyConstraints(): bool
/**
* Whether this platform supports onUpdate in foreign key constraints.
*
* @deprecated
*
* @return bool
*/
public function supportsForeignKeyOnUpdate()
Expand Down
2 changes: 2 additions & 0 deletions lib/Doctrine/DBAL/Platforms/OraclePlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,8 @@ public function supportsSequences()

/**
* {@inheritDoc}
*
* @deprecated
*/
public function supportsForeignKeyOnUpdate()
{
Expand Down

0 comments on commit acd5837

Please sign in to comment.