From f3537dc9fd536a97c27bbe12d20d55ccad573417 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Thu, 24 Aug 2023 10:35:21 +0200 Subject: [PATCH] Support Symfony 7 by adding return types conditionally (#6136) Same as doctrine/orm#10919. --- phpcs.xml.dist | 5 +++ psalm.xml.dist | 5 +++ .../Console/Command/CommandCompatibility.php | 35 +++++++++++++++++++ .../Console/Command/ReservedWordsCommand.php | 12 +++---- src/Tools/Console/Command/RunSqlCommand.php | 12 +++---- 5 files changed, 53 insertions(+), 16 deletions(-) create mode 100644 src/Tools/Console/Command/CommandCompatibility.php diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 4599df238c9..8617535973d 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -34,6 +34,10 @@ + + */src/Tools/Console/Command/CommandCompatibility.php + + */src/Configuration.php */src/Connection.php @@ -70,6 +74,7 @@ + */src/Tools/Console/Command/CommandCompatibility.php */tests/* diff --git a/psalm.xml.dist b/psalm.xml.dist index 3662f69b06a..567ecc381ae 100644 --- a/psalm.xml.dist +++ b/psalm.xml.dist @@ -589,6 +589,11 @@ + + + + +