We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e85edca commit d16046dCopy full SHA for d16046d
src/Flex.php
@@ -335,6 +335,9 @@ public function configureProject(Event $event)
335
// new projects are most of the time proprietary
336
$manipulator->addMainKey('license', 'proprietary');
337
338
+ // extra.branch-alias doesn't apply to the project
339
+ $manipulator->removeSubNode('extra', 'branch-alias');
340
+
341
// replace unbounded constraints for symfony/* packages by extra.symfony.require
342
$config = json_decode($contents, true);
343
if ($symfonyVersion = $config['extra']['symfony']['require'] ?? null) {
0 commit comments