Skip to content

Commit

Permalink
Revert "Deprecate "flex-require" sections"
Browse files Browse the repository at this point in the history
This reverts commit c36d11d.
  • Loading branch information
nicolas-grekas committed Jun 14, 2022
1 parent 1d04c55 commit d1a6923
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Flex.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,6 @@ public function update(Event $event, $operations = [])
if (!isset($json['flex-'.$type])) {
continue;
}

$this->io->writeError(sprintf('<warning>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
Expand Down

0 comments on commit d1a6923

Please sign in to comment.