Skip to content

Commit

Permalink
Merge branch '1.x' into 2.x
Browse files Browse the repository at this point in the history
* 1.x:
  Revert "Deprecate "flex-require" sections"
  Ignore correct PHP CS Fixer config file in .gitattributes
  • Loading branch information
nicolas-grekas committed Jun 15, 2022
2 parents 9436449 + d1a6923 commit 78510b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/.github export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs.dist export-ignore
/.php-cs-fixer.dist.php export-ignore
/.travis.yml export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
3 changes: 0 additions & 3 deletions src/Flex.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,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 78510b1

Please sign in to comment.