Skip to content

Commit 78510b1

Browse files
Merge branch '1.x' into 2.x
* 1.x: Revert "Deprecate "flex-require" sections" Ignore correct PHP CS Fixer config file in .gitattributes
2 parents 9436449 + d1a6923 commit 78510b1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/.github export-ignore
22
/.gitattributes export-ignore
33
/.gitignore export-ignore
4-
/.php_cs.dist export-ignore
4+
/.php-cs-fixer.dist.php export-ignore
55
/.travis.yml export-ignore
66
/phpunit.xml.dist export-ignore
77
/tests export-ignore

src/Flex.php

-3
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,6 @@ public function update(Event $event, $operations = [])
317317
if (!isset($json['flex-'.$type])) {
318318
continue;
319319
}
320-
321-
$this->io->writeError(sprintf('<warning>Using section "flex-%s" in composer.json is deprecated, use "%1$s" instead.</>', $type));
322-
323320
foreach ($json['flex-'.$type] as $package => $constraint) {
324321
if ($symfonyVersion && '*' === $constraint && isset($versions['splits'][$package])) {
325322
// replace unbounded constraints for symfony/* packages by extra.symfony.require

0 commit comments

Comments
 (0)