From d4ffdb2d5ac84639b7fc952097652dc9541d61dc Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Sun, 3 Jul 2022 15:10:20 -0700 Subject: [PATCH 1/2] Remove array and object column types --- UPGRADE.md | 8 +++ psalm.xml.dist | 20 ------ src/Types/ArrayType.php | 61 ------------------- src/Types/ObjectType.php | 60 ------------------ src/Types/Type.php | 2 - tests/Functional/Schema/ColumnCommentTest.php | 2 +- tests/Functional/TypeConversionTest.php | 49 +-------------- tests/Platforms/SQLServerPlatformTestCase.php | 32 +++++----- tests/Types/ArrayTest.php | 58 ------------------ tests/Types/ObjectTest.php | 58 ------------------ 10 files changed, 27 insertions(+), 323 deletions(-) delete mode 100644 src/Types/ArrayType.php delete mode 100644 src/Types/ObjectType.php delete mode 100644 tests/Types/ArrayTest.php delete mode 100644 tests/Types/ObjectTest.php diff --git a/UPGRADE.md b/UPGRADE.md index 48e3b97b948..48278ec2b5e 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -8,6 +8,14 @@ awareness about deprecated code. # Upgrade to 4.0 +## BC BREAK: removed `array` and `object` column types. + +The following classes and constants have been removed: +- `ArrayType`, +- `ObjectType`, +- `Types::ARRAY`, +- `Types::OBJECT`. + ## BC BREAK: removed `Driver::getSchemaManager()` The `Driver::getSchemaManager()` method has been removed. diff --git a/psalm.xml.dist b/psalm.xml.dist index 0ede3d1af6b..e38dc76ece8 100644 --- a/psalm.xml.dist +++ b/psalm.xml.dist @@ -32,26 +32,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -