From d1a692369be53445af6e391170b509d7f5d026cf Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 14 Jun 2022 23:13:39 +0200 Subject: [PATCH] Revert "Deprecate "flex-require" sections" This reverts commit c36d11d1bca0a85dde6ca4d52bd4aceeb54dbd8f. --- src/Flex.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Flex.php b/src/Flex.php index 3a861970b..005c53acf 100644 --- a/src/Flex.php +++ b/src/Flex.php @@ -415,9 +415,6 @@ public function update(Event $event, $operations = []) if (!isset($json['flex-'.$type])) { continue; } - - $this->io->writeError(sprintf('Using section "flex-%s" in composer.json is deprecated, use "%1$s" instead.', $type)); - foreach ($json['flex-'.$type] as $package => $constraint) { if ($symfonyVersion && '*' === $constraint && isset($versions['splits'][$package])) { // replace unbounded constraints for symfony/* packages by extra.symfony.require