6 Commits (3905f275d6eb8a415c1507f17446d6633f57d754)

Author SHA1 Message Date
Bryan Davis 06c44ce998 Add setters used by composer-merge-plugin to RootPackageInterface
Extend RootPackageInterface with setter functions used by
composer-merge-plugin and implement them for RootAliasPackage. This will
allow composer-merge-plugin and similar code that manipulates the root
package at runtime to ignore the difference between a RootPackage and
a RootAliasPackage.
9 years ago
Bryan Davis 2eb0af264b Allow RootAliasPackage to override cached values
AliasPackage caches the values of 'requires', 'devRequires',
'conflicts', 'provides', 'replaces' locally to allow `self.version`
references to be properly updated to reference the alias. Plugins like
composer-merge-plugin that manipulate these settings at runtime need to
be able to change the values after alias construction.
9 years ago
Jordi Boggiano fd7e28b8b4 Restore special handling of conflict/provide/replace 9 years ago
Vadim Tyukov b02bdb4c7a [alias] RootAliasPackage manages the requirements correctly 9 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Jordi Boggiano b9a44a0057 Add RootAliasPackage, fixes #1842 11 years ago