From 0a17cb6dcce8d6aec551aa67fc806bca4176a170 Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Sun, 11 Sep 2022 11:09:19 -0700 Subject: [PATCH] Deprecate SchemaDiff::$fromSchema --- UPGRADE.md | 4 ++++ psalm.xml.dist | 4 ++++ src/Schema/SchemaDiff.php | 6 +++++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/UPGRADE.md b/UPGRADE.md index 18a2cd94658..1e91fc70e42 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -62,6 +62,10 @@ The constructors of the following classes have been marked as internal: These classes can be instantiated only by schema comparators. The signatures of the constructors may change in future versions. +## Deprecated `SchemaDiff` reference to the original schema. + +The `SchemaDiff::$fromSchema` property has been deprecated. + ## Marked `AbstractSchemaManager::_execSql()` as internal. The `AbstractSchemaManager::_execSql()` method has been marked as internal. It will not be available in 4.0. diff --git a/psalm.xml.dist b/psalm.xml.dist index 83bc98322f5..2bbf2915c85 100644 --- a/psalm.xml.dist +++ b/psalm.xml.dist @@ -455,6 +455,10 @@ + +